MCQOPTIONS
 Saved Bookmarks
				| 1. | 
                                    What is the output of this C code(When 1 is entered)? #include void main() { char *ch; printf("enter a value btw 1 to 3:"); scanf("%s", ch); switch (ch) { case "1": printf("1"); break; case "2": printf("2"); break; } } | 
                            
| A. | 1 | 
| B. | Compile time error | 
| C. | 2 | 
| D. | Run time error | 
| Answer» C. 2 | |