ExamVeda
Login
Home
61
Which of following is not accepted in C?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
62
What will be the output of the following C code?
#include <stdio.h>
int *m();
void main()
{
    int k = m();
    printf("%d", k);
}
int *m()
{
    int a[2] = {5, 8};
    return a;
}
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
63
Global variables are . . . . . . . .
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
64
What is the scope of an automatic variable?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
65
What will be the output of the following C code having void return-type function?
#include <stdio.h>
void foo()
{
    return 1;
}
void main()
{
    int x = 0;
    x = foo();
    printf("%d", x);
}
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
66
If the file name is enclosed in double quotation marks, then . . . . . . . .
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
67
What will be the output of the following C code?
#include <stdio.h>
void foo();
int main()
{
    void foo();
    foo();
    return 0;
}
void foo()
{
    printf("2 ");
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
68
Which of the following storage class supports char data type?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
69
register keyword mandates compiler to place it in machine register.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
70
What will be the output of the following C code?
#include <stdio.h>
#define SYSTEM 20
int main()
{
    int a = 20;
    #if SYSTEM == a
    printf("HELLO ");
    #endif
    #if SYSTEM == 20
    printf("WORLD\n");
    #endif
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board