Reading till end of file

ques link-https://online.codingblocks.com/player/16974/content/7526/295

whenever i write this code in my compiler i am getting errors like scanf not declared,EOF not declared .
Why it is not showing errors in this video. And when will EOF==EOF,

@shubhamshagy copy your code on ide and share it here so that we can work

shubham save ur code to online ide of coding block and then share the link here we will see

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.