You are not logged in.

#1 2015-09-14 04:18:25

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

Determine Output:

C Programming Quizzes C Language Operators And Expressions

Directions:
Determine output:

Question:
void main()
{
      int c = - -2;
      printf("c=%d", c);
}

Option A):
5
Option B):
2
Option C):
3
Option D):
1

Correct Answer is Option B):
2


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-09-14 04:18:25

Advertisement
Ads By Google

Re: Determine Output:



Board footer