You are not logged in.

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

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

C Language Basic Quiz Question.

C Programming Quizzes Multiple Choice set of C Language Basic questions

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


Failure is the first step towards seccess.

2015-09-17 04:03:49

Advertisement
Ads By Google

Re: C Language Basic Quiz Question.



Board footer