C Preprocessor - Study Mode

[#71] What will be the output of the following C code? #include<stdio.h>
#define ram 557
int main()
{
#ifndef ram
printf("yes")
#endif
printf("no")
}
Correct Answer

(C) no

[#72] The correct syntax of the attribute packed is . . . . . . . .
Correct Answer

(A) __attribute__((packed))

[#73] What will be the output of the following C code? #define hello(c,d) #c #d
main()
{
printf(hello(i,"am"))
}
Correct Answer

(B) i"am"

[#74] What will be the output of the following C code? #define display(a) #a
main()
{
printf(display("56#7"))
}
Correct Answer

(B) "56#7"

[#75] What will be the output of the following C code? #include<stdio.h>
#pragma GCC poison printf
main()
{
printf("example")
return 0
}
Correct Answer

(A) error is thrown