MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program? #include<stdio.h> int main() { int a=0, b=1, c=3; *((a) ? &b : &a) = a ? b : c; printf("%d, %d, %d n", a, b, c); return 0; } |
| A. | 0, 1, 3 |
| B. | 1, 2, 3 |
| C. | 3, 1, 3 |
| D. | 1, 3, 1 |
| Answer» D. 1, 3, 1 | |