MCQOPTIONS
Saved Bookmarks
| 1. |
Study the following 'C' program #include void main() { int a=7, b=5; switch (a/a % b) { case 1 : a= a-b; case 2 : a= a+b; case 3 : a= a*b; case 4 : a= a/b; default : a= a; } } On the execution of above program, what will be the value of variable a? |
| A. | 7 |
| B. | 5 |
| C. | 2 |
| D. | None of these |
| Answer» B. 5 | |