Join our Telegram Channel

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

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

GkSeries apsc prelims 2023 test series

Today's Top Current Affairs

Current Affairs MCQs

State-wise Current Affairs

General Knowledge

Month-wise Current Affairs 2023

Category-wise Current Affairs

Jobs by Qualification

Free Mock Test