Report Bug

Qus

What will be output if you will compile and execute the following C code?

int main(){
	int check=2;
	switch(check){
	case 1: printf("D.W.Steyn");
	case 2: printf(" M.G.Johnson");
	case 3: printf(" Mohammad Asif");
	default: printf(" M.Muralidaran");
	}
	return 0;
}
Qus

यदि आप निम्नलिखित सी कोड को संकलित और निष्पादित करेंगे तो आउटपुट क्या होगा?

int main(){
	int check=2;
	switch(check){
	case 1: printf("D.W.Steyn");
	case 2: printf(" M.G.Johnson");
	case 3: printf(" Mohammad Asif");
	default: printf(" M.Muralidaran");
	}
	return 0;
}



A. M.G.Johnson
B. M.Muralidaran
C. M.G.Johnson Mohammad Asif M.Muralidaran
D. Compilation error


Solution
C. M.G.Johnson Mohammad Asif M.Muralidaran



Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2025 Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz