Q. What will be the output of the following C function when EOF returns?

Code:
int fputs(char *line, FILE *fp)
  • (A) ‘οΏ½’ character of array line is encountered
  • (B) ‘n’ character in array line is encountered
  • (C) ‘t’ character in array line is encountered
  • (D) When an error occurs
πŸ’¬ Discuss
βœ… Correct Answer: (D) When an error occurs

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
225
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Yashika
Publisher
πŸ“ˆ
86%
Success Rate