Flashcards
Flow of control
Flashcards do conjunto (8)
- 1What is the general form of an If statementif(expr)
statement - 2what is the general form of an if-else statementif(expr)
statement1
else
statement2 - 3What is the general form of a while statementwhile(expr)
statement1
statement2 - 4What is the general form of a switch statementSwitch()
case'A':
printf("")
break;
default:
printf("") - 5When do the if,while, for and do statements executeWhen the expression is nonzero\true
- 6What are the four relational operatorsless than: <
greater than: >
less than or equal to: <=
greater than or equal to: >= - 7What are the two equality operatorsequal to: ==
not equal to: != - 8What are the three logical operators(unary) negation: !
Logical and: &&
Logical or: | |
Informações
- Descrição
- 1 CIS 158 FlashCards sobre Flow of control, criado por Abe Moore em 11-11-2015.
- Criado por
- Abe Moore
- Visualizações
- 0
- Avaliação