You are not logged in.

#1 2015-09-15 04:15:46

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

C Language Control Structures Quiz Question.

C Programming Quizzes C Language Control Structures

Directions:
What will be the output of the given program?

Question:
#include<stdio.h>
void main()
{
      int value=0;
      if(value)
            printf("well done ");
      printf("GGL");
}

Option A):
complier error
Option B):
GGL
Option C):
None
Option D):
well done GGL

Correct Answer is Option B):
GGL


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

2015-09-15 04:15:46

Advertisement
Ads By Google

Re: C Language Control Structures Quiz Question.



Board footer