#include <stdio.h> int X(char *s, FILE *iop) { int c; while (c = *s++) putc(c, iop); return ferror(iop) ? EOF : 0; }
a) getc
b) putc
c) fgets
d) fputs
Identify X library function for line input and output in the following C code?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Identify X library function for line input and output in the following C code?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!