MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code?#include <stdio.h> int main() { int num = 12; if (num == num--) printf("TRUE 1 t"); num = 10; if (num == --num) printf("TRUE 2 t"); } |
| A. | TRUE 2 |
| B. | TRUE 1 |
| C. | Compilation Error |
| D. | Runtime Error |
| E. | None of these |
| Answer» B. TRUE 1 | |