You are not logged in.

#1 2015-09-17 04:17:35

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

C Language Basic Quiz:

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

Directions:
Determine Output:

Question:
void main()
{
      int i=0;
      for(;i++;printf("%d", i));
      printf("%d", i);
}

Option A):
1
Option B):
11
Option C):
12
Option D):
Error

Correct Answer is Option A):
1


Failure is the first step towards seccess.

2015-09-17 04:17:35

Advertisement
Ads By Google

Re: C Language Basic Quiz:



Board footer