MCQOPTIONS
Saved Bookmarks
| 1. |
Find output of the following program ? #include<stdio.h> int main() { char str[] = "Smaller"; int a = 100; printf(a > 10 ? "Greater" : "%s", str); return 0; } |
| A. | 100 |
| B. | Compile Error |
| C. | Greater |
| D. | Smaller |
| Answer» D. Smaller | |