adplus-dvertising
frame-decoration

Question

What is the output of this program?
#include <stdio.h>
#define int char
main()
{
  int i=50;
  printf ("sizeof (i) =%d", sizeof (i));
}

a.

2

b.

4

c.

8

d.

1

Posted under C Programming

Answer: (d).1

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?