You are not logged in.

#1 2015-09-17 05:52:27

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
Website

C Language Basic Quiz:

http://interviewquestionsanswers.org/quiz/C-Programming http://interviewquestionsanswers.org/qu … uage-Basic

Directions:
Determine Output:

Question:
void main()
{
      char *p;
      p="%dn";
      p++;
      p++;
      printf(p-2, 300);
}

Option A):
%d\n
Option B):
300
Option C):
Error
Option D):
None

Correct Answer is Option B):
300


Failure is the first step towards seccess.

2015-09-17 05:52:27

Advertisement
Ads By Google

Re: C Language Basic Quiz:



Board footer