Storage Class Questions and Answers
Practice ModeShowing 10 of 97 questions
Q81
Which of the following statement is incorrect.
Answer: Option D
Q82
A function declared inside a block will usually have
Answer: Option B
Q83
Which storage class is used to give a reference of global variable that is visible to all program files ?
Answer: Option D
Q84
Which of these is/are true about local variables
Answer: Option D
Q85
Find the output.
#define char stu
typedef struct (int x;) char;
void main ( )
{
extern employee [100];
int ano;
extern a;
char behaviour;
printf('%d", sizeof (employee));
printf('%d", sizeof (a));
}
employee [100];
int a[10];
Answer: Option C
Q86
Which of the following is true about stack variables ?
Answer: Option D
Q87
Find the output.
extern int *show( );
void main ( )
{
int *p, x=7;
p=show ( );
p=&x;
printf("%d", *p);
}
static int *show ( )
{
static int k=5;
return &k;
}
Answer: Option B
Q88
Global variables has
Answer: Option B
Q89
Data members of an anonymous union is
Answer: Option B
Q90
Variables which are used repeated repeatedly or whose access times are critical, declared as
Answer: Option C