Online GK Series

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


Given in the following code segment:

	void main(void)
		char x='\0';
		char n='N';
		printf("%u""%s\n",&n, &n);

What will be the result of execution?

A ddddd N(where d represents any digit)
B 78 N
C 78 garbage
D compilation error
Answer & Explanation
Option: [D]

mcq on c programming algorithms 01

Your Valuable Comments Please...

Please Like Us