You are not logged in.

#1 2015-09-17 04:04:24

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

C Language Basic:

C Programming Quizzes C Language Basic

Directions:
Determine Output:

Question:
#include<stdio.h>
#define a 10
void main()
{
      #define a 50
      printf("%d", a);
}

Option A):
None
Option B):
50
Option C):
10
Option D):
Compiler Error

Correct Answer is Option B):
50


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

2015-09-17 04:04:24

Advertisement
Ads By Google

Re: C Language Basic:



Board footer