You are not logged in.

#1 2015-09-17 04:25:48

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

C Language Basic Determine Output:

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

Directions:
Determine Output:

Question:
void main()
{
      char not;
      not = !2;
      printf("%d", not);
}

Option A):
0
Option B):
None
Option C):
Garbage Value
Option D):
2

Correct Answer is Option A):
0


Failure is the first step towards seccess.

2015-09-17 04:25:48

Advertisement
Ads By Google

Re: C Language Basic Determine Output:



Board footer