MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the following program? #include intfuncf (int x); intfuncg (int y); main() { int x = 5, y = 10, count; for (count = 1; count < = 2; ++count) { y + = funcf (x) + funcg(x); printf(«%d",y); } }funcf(int x) { inty; y = funcg(g); return (y); } funcg(int x) { staticint y = 10; y + = l; return (y + x); |
| A. | 43 80 |
| B. | 42 74 |
| C. | 33 37 |
| D. | 32 32 |
| Answer» B. 42 74 | |