MCQOPTIONS
Bookmark
Saved Bookmarks
→
Control Instructions
→
General
→
The way the break is used to take control out of s...
1.
The way the break is used to take control out of switch and continue to take control of the beginning of the switch?
A.
Yes
B.
No
Answer» C.
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
When 1 is entered, The output of the code below is? #include 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; } }
When 1 is entered, The output of the code below is? #include void main() { int ch; printf("enter a value btw 1 to 2:"); scanf("%d", &ch); switch (ch) { case 1: printf("1 n"); default: printf("2 n"); } }
When 2 is entered, The output of the code below is? #include void main() { int ch; printf("enter a value btw 1 to 2:"); scanf("%d", &ch); switch (ch) { case 1: printf("1 n"); break; printf("Hi"); default: printf("2 n"); } }
The output of the code below is #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; } }
The output of the code below is #include void main() { double ch; printf("enter a value btw 1 to 2:"); scanf("%lf", &ch); switch (ch) { case 1: printf("1"); break; case 2: printf("2"); break; } }
The output of the code below is #include void main() { int x = 0; if (x == 0) printf("hi"); else printf("how are u"); printf("hello"); }
Comment on the following code below #include void main() { int x = 5; if (true); printf("hello"); }
The output of the code below is #include int x; void main() { if (x) printf("hi"); else printf("how are u"); }
c = (n) ? a : b; can be rewritten asexp1 ? exp2 : exp3;
do-while loop terminates when conditional expression returns?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies