MCQOPTIONS
Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Testing Subject
General Aptitude
Logical and Verbal Reasoning
English Skills Ability
Technical Programming
Current Affairs
General Knowledge
Finance & Accounting
GATE (Mechanical Engineering)
Chemical Engineering
→
C Programming
→
Floating Point Issues
→
The keyword break cannot be simply used within _...
1.
The keyword break cannot be simply used within _________.
A.
for
B.
while
C.
if-else
D.
do-while
E.
None of these
Answer» D. do-while
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What will be the output of the following C code?#include <stdio.h> int main() { int n = 0; for (n) printf("Hello how are u?"); }
What will be the output of the following C code?#include <stdio.h> void main() { int n = 0; for (n < 3; n++) printf("Hey..."); }
What will be the output of the following C code?#include <stdio.h> int main() { short k; for (k = 1; k >= 0; k++) printf("%d n", k); }
What will be the output of the following C code?#include <stdio.h> int main() { while () printf("Executed In while loop "); printf("Executed After loop n"); }
What will be the output of the following C code?#include <stdio.h> int main() { for (int k = 0; k < 1; k++) printf("Executed In for loop n"); }
What will be the output of the following C code? #include <stdio.h> int main() { int *ptr = NULL; for (fun(); ptr; ptr = 0) printf("Executed in loop n"); printf("Executed After loop n"); }
What will be the output of the following C code?#include <stdio.h> int main() { int k = 0; for (fun(); k == 1; k = 2) printf("Executed in loop n"); printf("Executed After loop n"); } int fun() { return 1; }
What will be the output of the following C code?#include <stdio.h> void main() { int k = 0; while (++k) { printf("Interview Mania"); } }
What will be the output of the following C code?#include <stdio.h> void main() { int k = 4; do { printf("Interview Mania n"); } while (k < 3); }
How many times k value is checked in the following C code?#include <stdio.h> int main() { int k = 0; while (k <= 5) { printf("Executed In while loop n"); k++; } }
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