You are not logged in.

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

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

Determine Output:

C Programming Quizzes Multiple Choice set of C Language Basic questions

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


Failure is the first step towards seccess.

2015-09-17 04:19:23

Advertisement
Ads By Google

Re: Determine Output:



Board footer