You are not logged in.

#1 2015-09-17 05:46:44

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

C Language Basic Quiz:

C Programming Quizzes Multiple Choice set of C Language Basic questions

Directions:
Determine Output:

Question:
#define prod(a,b)  a*b
void main()
{
      int x=3, y=4;
      printf("%d", prod(x+2, y-1));
}

Option A):
14
Option B):
10
Option C):
12
Option D):
13

Correct Answer is Option B):
10


Failure is the first step towards seccess.

2015-09-17 05:46:44

Advertisement
Ads By Google

Re: C Language Basic Quiz:



Board footer