You are not logged in.

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

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

Determine Output:

http://interviewquestionsanswers.org/quiz/C-Programming http://interviewquestionsanswers.org/qu … uage-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


Failure is the first step towards seccess.

2015-09-17 05:50:48

Advertisement
Ads By Google

Re: Determine Output:



Board footer