adplus-dvertising
frame-decoration

Question

What is the output of C program with #define?
#define CVV 156
int main()
{
    int a=10;
    a = a*CVV;
    printf("CVV=%d",a);
    return 0;
}

a.

0

b.

1560

c.

1560

d.

Compiler error

Posted under C Programming

Answer: (c).1560

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 #define?