You are not logged in.

#1 2015-09-15 06:00:47

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 given program?

Question:
#include<stdio.h>
void main()
{
    int a=1;
    if("%d=hello", a);
}

Option A):
1
Option B):
0
Option C):
complier error
Option D):
no error no output

Correct Answer is Option D):
no error no output


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

2015-09-15 06:00:47

Advertisement
Ads By Google

Re: C Language Control Structures Quiz Question.



\n

Board footer