41.
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    int i = 1;
    if (i++ && (i == 1))
        printf("Yes\n");
    else
        printf("No\n");
}

46.
What will be the output of the following C code if the code is executed on a 32 bit platform?
#include <stdio.h>
enum India
 {
    c = 0,
    d = 10,
    h = 20,
    s = 3
} a;
 
int main()
{
        a = c;
	printf("Size of enum variable = %d bytes", sizeof(a));
	return 0;
}

47.
What will be the output of the following C function?
#include <stdio.h>
int main()
{
    reverse(1);
}
void reverse(int i)
{
    if (i > 5)
        exit(0);
    printf("%d\n", i);
    return reverse(i++);
}

Read More Section(C Fundamentals)

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