

MCQOPTIONS
Saved Bookmarks
1. |
If the following structure is written to a file using fwrite(), can fread() read it back successfully? struct emp { char *n; int age; }; struct emp e={"IndiaBIX", 15}; FILE *fp; fwrite(&e, sizeof(e), 1, fp); |
A. | Yes |
B. | No |
C. | Yes |
D. | No |
Answer» C. Yes | |