MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code?#include <stdio.h> int main() { int p1 = 10, p2 = 8; int p3; p3 = (p2++, p2); printf("%d n", p3); return 0; } |
| A. | 9 |
| B. | 8 |
| C. | 10 |
| D. | Compilation Error |
| E. | Undefined behaviour |
| Answer» B. 8 | |