adplus-dvertising
frame-decoration

Question

What is the output of C program with #undef?
int main()
{
    #undef BIRD
    printf("OKAY");
    return 0;
}

a.

OKAY

b.

Compiler error

c.

BIRDOKAY

d.

None of the above

Posted under C Programming

Answer: (a).OKAY

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of C program with #undef?