You are not logged in.

#1 2015-09-14 06:09:49

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

C Language Function Determine Output:

C Programming Quizzes C Language Function

Directions:
main()
{
      int i = 5;
      printf("%d%d%d%d%d", i++, i--, ++i, --i, i);
}

Question:
Determine output:

Option A):
45445
Option B):
45545
Option C):
54554
Option D):
54544

Correct Answer is Option B):
45545


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

2015-09-14 06:09:49

Advertisement
Ads By Google

Re: C Language Function Determine Output:



Board footer