ExamVeda
Login
Home
71
Functions have static qualifier for its declaration by default.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
72
Can we use a function as a parameter of another function? [Eg: void wow(int func())].
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
73
What will be the output of the following C code?
#include <stdio.h>
void main()
{
    static int x;
    if (x++ < 2)
    main();
}
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
74
Assignment statements assigning value to local static variables are executed only once.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
75
The #else directive is used for . . . . . . . .
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
76
What will be the output of the following C code?
#include <stdio.h>
void foo(auto int i);
int main()
{
    foo(10);
}
void foo(auto int i)
{
    printf("%d\n", i );
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
77
Conditional inclusion can be used for . . . . . . . .
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
78
What will be the output of the following C code?
#include <stdio.h>
void main()
{
    {
        int x = 8;
    }
    printf("%d", x);
}
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
79
Comment on the output of the following C code.
#include <stdio.h>
#define var 20);
int main()
{
    printf("%d\n", var
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
80
What will be the sequence of allocation and deletion of variables in the following C code?
#include <stdio.h>
int main()
{
    int a;
    {
        int b;
    }
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board