[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Control Instructions - Discussion

Home > C Programming > Control Instructions > MCQs Questions Discussion

25 / 33

What is the output of the following 'C' program ?

#include<stdio.h>
int main()
{
int i=10;

 switch(i) {
 case 10: printf("Hello "); {
case 1 : printf("World ");
 }
case 5: printf("Hello World ");
}
}

AHello

BWorld

CHello World Hello World

DSyntax Error

Answer: Option (Login/Signup)

Show Explanation

Asked In :: Global Edge

Post Your Answer Here:     

No Discussion on this question yet!