You are not logged in.

#1 2015-09-17 05:58:49

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

C Language Basic:

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

Directions:
Determine Output:

Question:
void main()
{
      static char *s[] = {"black", "white", "yellow", "violet"};
      char **ptr[] = {s+3, s+2, s+1, s}, ***p;
      p = ptr;
      ++p;
      printf("%s",*--*++p + 3);
}

Option A):
ck
Option B):
ow
Option C):
et
Option D):
te

Correct Answer is Option A):
ck


Failure is the first step towards seccess.

2015-09-17 05:58:49

Advertisement
Ads By Google

Re: C Language Basic:



Board footer