adplus-dvertising
frame-decoration

Question

What is the output of C program?
int main()
{
    #ifndef CVV
        #define CVV 199
        printf("CVV=%d", CVV);
    #else
        printf("CVV=%d", 188);
    #endif
    return 0;
}

a.

CVV=188

b.

CVV=0

c.

CVV=199

d.

Compiler error

Posted under C Programming

Answer: (c).CVV=199

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?