You are not logged in.

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

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 c = - -2;
      printf("c=%d", c);
}

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

Correct Answer is Option A):
2


Failure is the first step towards seccess.

2015-09-17 04:00:17

Advertisement
Ads By Google

Re: C Language Basic Quiz:



Board footer