--:--









Quiz for File operations putc

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



Logo

Q1: What does the putc() function do?

Logo

Q2: Which header file declares putc()?

Logo

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

Logo

Q4: What does putc() return on error?

Logo

Q5: Can putc() be used with stdout?

Logo

Q6: Is putc() a macro or function?

Logo

Q7: Which function is similar to putc()?

Logo

Q8: How to check for errors after putc()?

Logo

Q9: What type of data does putc() write?

Logo

Q10: Can putc() write binary data?

Logo

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

Logo

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

Logo

Q13: Is putc() buffered?

Logo

Q14: What is the difference between putc() and putchar()?

Logo

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

Logo

Q16: What is the equivalent function to putc() for input?

Logo

Q17: Does putc() support wide characters?

Logo

Q18: How do you flush output buffer after putc()?

Logo

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

Are you ready to start test? Set your time limit