Question
main
{
extern int i;
i = 20;
print("%d",size of (i));
}
a.
2
b.
8
c.
Would vary compiler to cimpiler
d.
Error
Posted under C Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What is the output of the following 'C' program?
Similar Questions
Discover Related MCQs
Q. The value of an automatic variable that is declared but not initialized will be
View solution
Q. Choose the correct answer
View solution
Q. Which of the following comments regarding the reading of a string, using scanf(with optional) and get is true?
View solution
Q. If integer needs two bytes of storage, then maximum value of a signed interger is
View solution
Q. The minimum number of temporary variables needed to swap the contents of two variables is
View solution
Q. If s and b are integers then purpose of the following program fragment is to
b = s + b ;
s = b - s ;
b = b - s ;
View solution
Q. If integer needs two bytes of storage, then maximum value of a signed integer is
View solution
Q. printf ( "%d" , printf ( "tim" ) ):
View solution
Q. Consider the statements:
putchar ( getchar ( ));
putchar(getchar( ));
If
a
b
is the input, the output will be
View solution
Q. Literal means
View solution
Q. Which of the following are true regardless of the implementation ?
View solution
Q. Choose the correct statements
View solution
Q. Choose the correct statements
View solution
Q. Choose the correct statements
View solution
Q. Which of the following comments about wide characters is/are true ?
View solution
Q. Which of the following is true of external variables?
View solution
Q. Choose the correct statements
View solution
Q. The declaration
int x : 4;
means
View solution
Q. As soon as a pointer variable is freed, its value
View solution
Q. Choose the correct statements
View solution
Suggested Topics
Are you eager to expand your knowledge beyond C Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!