Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Question

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

Advertisement
Article and Schedule Quiz Start Test!
DOWNLOAD CURRENT AFFAIRS PDF FROM APP

Random GK Questions

Assam Direct Recruitment Test Series

Computer Science Topics