C | Storage Classes and Type Qualifiers | Question 19
#include <stdio.h>
int main()
{
extern int i;
printf ( "%d " , i);
{
int i = 10;
printf ( "%d " , i);
}
}
|
(A) 0 10
(B) Compiler Error
(C) 0 0
(D) 10 10
Answer: (B)
Explanation: See extern keyword
Quiz of this Question
Last Updated :
28 Jun, 2021
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...