adplus-dvertising
frame-decoration

Question

What is the output of this program?
#include <stdio.h>
#define CONDITION(x)
printf("compsciedu");                         
int main()
{
  CONDITION(0);
  return 0;
}

a.

Runtime Error

b.

compsciedu

c.

Compilation error

d.

None of the above

Posted under C Programming

Answer: (b).compsciedu

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 this program?