--:--









Quiz for File operations getc

Course: C Language | Subject: Unit 8 | Topic: File Handling



Logo

Q1: What does the getc() function do?

Logo

Q2: Which header file declares getc()?

Logo

Q3: What is the return type of getc()?

Logo

Q4: What does getc() return on end of file or error?

Logo

Q5: Can getc() be used with stdin?

Logo

Q6: Is getc() a macro or function?

Logo

Q7: Which function is similar to getc()?

Logo

Q8: How to check for EOF after getc()?

Logo

Q9: What type of data does getc() read?

Logo

Q10: Can getc() read binary files?

Logo

Q11: Which is the correct syntax for getc()?

Logo

Q12: What happens to file pointer after getc()?

Logo

Q13: Is getc() buffered?

Logo

Q14: What is the difference between getc() and getchar()?

Logo

Q15: Can getc() cause errors if file is not opened?

Logo

Q16: What is the equivalent function to getc() for output?

Logo

Q17: Does getc() support wide characters?

Logo

Q18: How do you check for errors after getc()?

Logo

Q19: Which of the following is a valid use of getc()?

Are you ready to start test? Set your time limit