Warning: implode(): Invalid arguments passed in /www/wwwroot/jobquiz.info/mdiscuss.php on line 336 Point out the error, if any in the program. #include<stdio.h> int main() { int i = 1; switch(i) { case 1: printf("Case1"); break; case 12+4: printf("Case2"); break; } return 0; } ?->(Show Answer!)
1. Point out the error, if any in the program. #include<stdio.h> int main() { int i = 1; switch(i) { case 1: printf("Case1"); break; case 12+4: printf("Case2"); break; } return 0; }
Ask Your Doubts Here
Comments
By: guest on 01 Jun 2017 06.01 pm
Constant expression are accepted in switch It prints "Case1"