What Ithe difference between a end of line and EOF while giving the inputs during run time?

Questions by Karthik_p

Showing Answers 1 - 6 of 6 Answers

baseersd

  • Nov 19th, 2007
 

End of Line refers to the 'n'( new line character). It will perform operations till it come across 'n'.

EOF refers to End of File. It is the last character in the file.(if it is not empty). If the file is empty then only EOF will be present.
Some compilers give its value as -1.

  Was this answer useful?  Yes

pawandeep

  • Mar 24th, 2012
 

end of file is a function which returns zero value at end of file... EOF is a deliminator

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions