Storage Class Questions and Answers
Practice ModeShowing 10 of 97 questions
Q61
Find the output
void main ( )
{
static int i=i++, j=j++;
printf('%c", s);
}
printf("%d", s);
}
Answer: Option C
Q62
Find the output
void main ( )
{
static int i=i++, j=j++;
printf("%d%d", i, j);
}
Answer: Option C
Q63
Find the output
char s;
void main ( )
{
s='a}';
{
static char s='b';
printf ('%c",s);
}
Answer: Option A
Q64
The extern storage class can be used to
Answer: Option C
Q65
Find the output
void main ( )
{
show ( );
dis ( );
}
show ( )
{
extern int x;
x--;
printf("%d", x);
}
int x=10;
dis ( )
{
{
x++;
printf('%d", x);
}
Answer: Option C
Q66
Find the output
void main ( )
{
extern int a;
a=10;
printf("5d", sizeof (a));
}
Answer: Option C
Q67
Find the output
int a=6;
void main ( )
{
static int *x=&a;
printf('5d", *x);
}
Answer: Option A
Q68
State the incorrect statement
Answer: Option D
Q69
The disadvantages of external storage class is/are
Answer: Option D
Q70
The advantages of external storage calss
Answer: Option D