What is the ascii value of EOF in c.?

前端 未结 7 822
隐瞒了意图╮
隐瞒了意图╮ 2020-12-01 13:51

Any one knows what is the ASCII value of i.

I try printf(\"%d\",EOF);

but its print -1

and also try printf(\"%c\",EOF

7条回答
  •  鱼传尺愫
    2020-12-01 14:25

    for all intents and purposes 0x04 EOT (end of transmission as this will normaly signal and read function to stop and cut off file at that point.

提交回复
热议问题