81.
What will be the output of the following C code?
#include <stdio.h>
enum m{JAN, FEB, MAR};
enum m foo();
int main()
{
    enum m i = foo();
    printf("%d\n", i);
}
int  foo()
{
    return JAN;
}

84.
What will be the output of the following C code?
#include <stdio.h>
#define foo(m, n) m * n = 10
int main()
{
    printf("in main\n");
}

85.
What will be the output of the following C code?
#include <stdio.h>
#define MIN 0);
#ifdef MIN
#define MAX 10
#endif
int main()
{
    printf("%d %d\n", MAX, MIN
    return 0;
}

86.
Which among the following is wrong for "register int a;"?

89.
What will be the output of the following C code?
#include <stdio.h>
int i;
int main()
{
    extern int i;
    if (i == 0)
        printf("scope rules\n");
}

90.
How is search done in #include and #include"somelibrary.h" normally or conventionally?

Read More Section(Function)

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