adplus-dvertising
frame-decoration

Question

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

a.

Compilation error

b.

Runtime error

c.

17

d.

none of the above

Answer: (c).17

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?