MCQOPTIONS
Saved Bookmarks
| 1. |
#include <stdio.h>int main(){ char c; FILE *fp; fp=fopen("demo.txt","a+"); // demo.txt : hello you are reading a file fprintf(fp," demo"); fclose(fp); fp=fopen("myfile.txt","r"); while((c=fgetc(fp))!=EOF) printf("%c",c); fclose(fp); return 0;}22.A data of the file is stored in? |
| A. | Ram |
| B. | Hard disk |
| C. | Rom |
| D. | None |
| Answer» C. Rom | |