You are not logged in.

#1 2015-09-17 05:50:46

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 *p="hi friends", *p1;
      p1=p;
      while(*p!='\0') ++*p++;
      printf("%s", p1);
}

Option A):
None
Option B):
hj grjeodt
Option C):
hi friends
Option D):
ij!gsjfoet

Correct Answer is Option D):
ij!gsjfoet


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

2015-09-17 05:50:46

Advertisement
Ads By Google

Re: Determine Output:



Board footer