You are not logged in.

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

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

Compiler Error:

C Programming Quizzes C Language 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


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

2015-09-17 04:11:24

Advertisement
Ads By Google

Re: Compiler Error:



\n

Board footer