adplus-dvertising
frame-decoration

Question

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

a.

0

b.

1

c.

-1

d.

NULL

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