Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Question

What will be the output of the following code segment?

	int x=24, y=39, z=45	
	z=x+y;
	y=z-y;
	x=z-y;
	printf("\n%d%d%d",x,y,z);
	
A 24 39 63
B 39 24 63
C 24 39 45
D 39 24 45
Answer & Explanation
Option: [B]
Advertisement
Article and Schedule Quiz Start Test!
DOWNLOAD CURRENT AFFAIRS PDF FROM APP
Assam Direct Recruitment Test Series

Computer Science Topics