You are not logged in.

#1 2015-09-17 03:46:14

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

Determine Output:

C Programming Quizzes C Language Basic

Directions:
Determine Output:

Question:
void main()
{
      char s[]="man";
      int i;
      for(i=0; s[ i ]; i++)
            printf("%c%c%c%c ", s[ i ], *(s+i), *(i+s), i[ s ]);
}

Option A):
Compiler Error
Option B):
mmmm nnnn aaaa
Option C):
mmm nnn aaa
Option D):
None

Correct Answer is Option B):
mmmm nnnn aaaa


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

2015-09-17 03:46:14

Advertisement
Ads By Google

Re: Determine Output:



Board footer