You are not logged in.

#1 2015-09-17 05:48:59

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

C Language Basic Quiz Question.

C Programming Quizzes C Language Basic

Directions:
Determine Output:

Question:
void main()
{
      char p[]="%dn";
      p[1] = 'c';
      printf(p, 65);
}

Option A):
c
Option B):
None
Option C):
65
Option D):
A

Correct Answer is Option D):
A


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-09-17 05:48:59

Advertisement
Ads By Google

Re: C Language Basic Quiz Question.



\n

Board footer