71.
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    enum {ORANGE = 5, MANGO, BANANA = 4, PEACH};
    printf("PEACH = %d\n", PEACH);
}

72.
Which of the following is possible with any 2 operators in C?

74.
What will be the output of the following C code? (Initial values: x= 7, y = 8)
#include <stdio.h>
void main()
{
    float x;
    int y;
    printf("enter two numbers \n");
    scanf("%f %f", &x, &y);
    printf("%f, %d", x, y);
}

77.
Comment on the behaviour of the following C code?
#include <stdio.h>
int main()
{
    int i = 2;
    i = i++ + i;
    printf("%d\n", i);
}

Read More Section(C Fundamentals)

Each Section contains maximum 100 MCQs question on C Fundamentals. To get more questions visit other sections.