You are not logged in.

#1 2015-09-14 04:30:17

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

Output Statement:

http://interviewquestionsanswers.org/quiz/C-Programming http://interviewquestionsanswers.org/qu … xpressions

Directions:
What is the output of the following statements?

Question:
int i = 0;
printf("%d %d", i, i++);

Option A):
0 1
Option B):
1 1
Option C):
1 0
Option D):
0 0

Correct Answer is Option C):
1 0


Failure is the first step towards seccess.

2015-09-14 04:30:17

Advertisement
Ads By Google

Re: Output Statement:



Board footer