ExamVeda
Login
Home
81
What will be the output of the following C code?
#include <stdio.h>
(sizeof double = 8, float = 4, void = 1)
#define PI 3.14
int main()
{
    printf("%d", sizeof(PI));
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
82
What will be the output of the following C code?
#include <stdio.h>
main()
{
    int a = 1;
    printf("size of a is %d, ", sizeof(++a));
    printf("value of a is %d", a);
};
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
83
Which of the following is not an operator in C?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
84
%lf is used to display?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
85
Which among the following is never possible in C when members in a structure are the same as that in a union?
//Let P be a structure
//Let Q be a union
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board