MCQOPTIONS
Saved Bookmarks
| 1. |
Determine the output of following C code segment:int add (int a, int b=12){return a + b;}main(){ int c;c = add (10, 20);printf("c = %d", c);} |
| A. | c = 22 |
| B. | c = 30 |
| C. | c = 12 |
| D. | c = 10 |
| Answer» C. c = 12 | |