You are not logged in.

#1 2015-09-17 04:19:21

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

Determine Output:

C Programming Quizzes C Language Basic

Directions:
Determine output:

Question:
void main()
{
      extern int i;
      i=20;
      printf("%d", sizeof(i));
}

Option A):
2
Option B):
20
Option C):
Compiler Error
Option D):
Linker Error

Correct Answer is Option D):
Linker Error


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

2015-09-17 04:19:21

Advertisement
Ads By Google

Re: Determine Output:



Board footer