Question
#include <stdio.h>
register int x;
void main()
{
printf("%d", x);
}
a.
Varies
b.
0
c.
Junk value
d.
Compile time 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 this C code? #include <stdio.h> register int x; void main() { printf("%d", x); }
Similar Questions
Discover Related MCQs
Q. The scope of an automatic variable is:
View solution
Q. Automatic variables are allocated space in the form of a:
View solution
Q. Which of the following is a storage specifier?
View solution
Q. Default storage class if not any is specified for a local variable, is auto
View solution
Q. Automatic variables are stored in
View solution
Q. What linkage does automatic variables have?
View solution
Q. Automatic variables are variables that are
View solution
Q. Automatic variables
View solution
Q. Automatic variables are allocated memory in
View solution
Q. Automatic variables are initialised to
View solution
Q. Which of the following storage class supports char data type?
View solution
Q. The variable declaration with no storage class specified is by default:
View solution
Q. Property which allows to produce different executable for different platforms in C is called?
View solution
Q. C preprocessors can have compiler specific features
View solution
Q. C preprocessor is conceptually the first step during compilation
View solution
Q. Preprocessor feature that supply line numbers and filenames to compiler is called?
View solution
Q. A preprocessor is a program
View solution
Q. Which of the following are C preprocessors?
View solution
Q. #pragma exit is primarily used for?
View solution
Q. The C-preprocessors are specified with _________symbol.
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!