You are not logged in.

#1 2015-09-17 05:41:23

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

Garbage Values:

C Programming Quizzes C Language Basic

Directions:
Determine Output:

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

Option A):
0 0 0
Option B):
garbage values
Option C):
Error
Option D):
1 1 1

Correct Answer is Option B):
garbage values


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

2015-09-17 05:41:23

Advertisement
Ads By Google

Re: Garbage Values:



Board footer