You are not logged in.

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

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

C Language Control Structures Quiz Question.

http://interviewquestionsanswers.org/quiz/C-Programming http://interviewquestionsanswers.org/qu … 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


Failure is the first step towards seccess.

2015-09-15 06:00:49

Advertisement
Ads By Google

Re: C Language Control Structures Quiz Question.



Board footer