adplus-dvertising
frame-decoration

Question

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

a.

Runtime Error

b.

Garbage value

c.

Compilation error

d.

30

Answer: (c).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?