adplus-dvertising
frame-decoration

Question

What is the output of this program?
#include <stdio.h>
#define p 17;
int main()
{
  printf("%d",p);
  return 0;
}

a.

Garbage value

b.

Runtime error

c.

17

d.

Compilation error

Answer: (d).Compilation error

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?