Online GK Series

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

Get Attractive Job

Q.

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: [A]

mcq on c programming algorithms 01

Your Valuable Comments Please...

Useful Computer Science EBooks