You are not logged in.

#1 2015-09-17 04:11:26

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

Compiler Error:

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

Directions:
Determine Output:

Question:
void main()
{
      int i=1;
      while(i<=5)
      {
            printf("%d", i);
            if(i>2)
                  goto here;
            i++;
      }
}
fun()
{
      here:  printf("PP");
}

Option A):
12PP345
Option B):
Compiler Error
Option C):
None
Option D):
12PP

Correct Answer is Option B):
Compiler Error


Failure is the first step towards seccess.

2015-09-17 04:11:26

Advertisement
Ads By Google

Re: Compiler Error:



Board footer