You are not logged in.

#1 2015-09-17 04:03:46

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

C Language Basic Quiz Question.

C Programming Quizzes C Language Basic

Directions:
Determine Output:

Question:
#define square(x) x*x
void main()
{
      int i;
      i = 64/square(4);
      printf("%d", i);
}

Option A):
64
Option B):
1
Option C):
None
Option D):
16

Correct Answer is Option A):
64


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

2015-09-17 04:03:46

Advertisement
Ads By Google

Re: C Language Basic Quiz Question.



\n

Board footer