C - Storage Classes of Variables Questions and Answers
Practice ModeShowing 10 of 33 questions
Q31
What does extern means in a function declaration ?
Answer: Option C
Q32
extern int s;
int t;
static int u;
main ( )
{ }
which of s, t and u are available to a function present in another file ?
Answer: Option A
Q33
What will be the output of the following code ?
static int i = ;
main ( )
{
int sum=;
do
{
sum+=(/i);
}while (<i - - );
printf ("sum of the series is %d", sum );
}
Answer: Option C