The actual value of EOF is compiler-dependent, but it is always assigned a code that is not used by any other character.
查看答案
The stdio.h file contains the definition of EOF.
A break statement forces an immediate break, or exit, from switch and while statements only.
What will the following program print on screen? int tenure = -5; if (tenure + 5) printf("Congratulations!"); else printf("Sorry");
A. Congratulations!
B. Runtime error.
C. Sorry
D. Nothing; the program will not compile.
The following statement prints “You lose!” on the screen; int num = -1; if (num) printf("Bingo!"); else printf("You lose!");