ExamVeda
Login
Home
This question belongs to C Program Storage Class
Storage Class
?

What is the default storage class for global variables?

Answer & Solution
Correct Answer: Option C
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

1 Comment
Amrutha Sharmith
Amrutha Sharmith 2 years ago
What will be the output of the following C code?
#include
void main()
{
int i = 2;
do
{
printf("Hi");
} while (i < 2)
}
A) Compile time error
B) Hi Hi
C) Hi
D) Varies