Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

Connect with Universities & Study Abroad Experts Instantly Connect Now

Q.

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]

Your Valuable Comments Please...

Useful Computer Science EBooks