M
Q. What will be the output of the following code snippet?
#include <stdio.h> void solve() { int ch = 2; switch(ch) { case 1: printf("1 "); case 2: printf("2 "); case 3: printf("3 "); default: printf("None"); } } int main() { solve(); return 0; }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Which of the following functions display “Hello, World!” on the screen in console mode?
Q. The cos function computes the cosine of x.
Q. In which case union is better than structure?
Q. What will be the value of x in the following code snippet?
Q. Which of the following type-casting is accepted in C?
Q. Which gcc flag is used to genarate debug information for any binary file?
Q. C language was invented in which laboratories?
Discusssion
Login to discuss.