M
Q. When 1 is entered, the output of the code below is?
#include <stdio.h> void main() { int ch; printf(“enter a value btw 1 to 2:”); scanf(“%d”, &ch); switch (ch, ch + 1) { case 1: printf(“1\n”); break; case 2: printf(“2”); break; } }
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 function gives the current position in the file
Q. Which of the following cannot be a variable name in C?
Q. What is the output of C program?
Q. How to declare a double-pointer in C?
Q. What will be output of the following c code?
Q. What will be printed by the C program?
Q. What will be output for the following code?
Q. What is the work of break keyword?
Discusssion
Login to discuss.