Online GK Series

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

One Year MBA At Rs.7500/- Only Apply Now


What will be the output of the following program?

		struct emp
			char name[20];
			int age;
			float sal;
		struct emp e={"Tiger"};
		printf("\n%d%f"),e.age, e.sal;
A 0 0.000000
B Garbage values
C Error
D None of the above
Answer & Explanation
Option: [A]

mcq on c programming structures 04

Your Valuable Comments Please...

Useful Computer Science EBooks