Question
#include <stdio.h>
int func (int a)
{
int b;
return b;
}
int main()
{
int c;
func (c);
}
int d;
a.
a
b.
b
c.
c
d.
d
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. Which of the following are an external variable? #include <stdio.h> int func (int a) { int b; return b; } int main() {...
Similar Questions
Discover Related MCQs
Q. Property of external variable to be accessed by any source file is called by C90 standard as
View solution
Q. What is the scope of an external variable?
View solution
Q. What is the scope of a function?
View solution
Q. Array sizes are optional during array declaration by using ______ keyword.
View solution
Q. Which of following is not accepted in C?
View solution
Q. Which of the following cannot be static in C?
View solution
Q. Functions have static qualifier for its declaration by default.
View solution
Q. Is initialisation mandatory for local static variables?
View solution
Q. Assignment statements assigning value to local static variables are executed only once
View solution
Q. What is the format identifier for “static a = 20.5;”?
View solution
Q. Which of the following is true for static variable?
View solution
Q. register keyword mandates compiler to place it in machine register.
View solution
Q. Register storage class can be specified to global variables
View solution
Q. Which among the following is wrong for “register int a;” ?
View solution
Q. When compiler accepts the request to use the variable as a register?
View solution
Q. Which data type can be stored in register?
View solution
Q. Which of the following operation is not possible in a register variable?
View solution
Q. Which among the following is the correct syntax to declare a static variable register?
View solution
Q. Register variables reside in
View solution
Q. The scope of an automatic variable is:
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!
Microprocessor
Understand the heart of your computer with our Microprocessor MCQs. Topics include...
Cyber Security
Understand the fundamentals of safeguarding digital assets with our Cyber Security...