You are not logged in.

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

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
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


Failure is the first step towards seccess.

2015-09-15 04:15:49

Advertisement
Ads By Google

Re: C Language Control Structures Quiz Question.



\n

Board footer