Write a program using fgetc() function.
Answers
Answered by
1
Answer:
The fgetc() function returns a single character from the file. It gets a character from the stream.
...
Example:
1 #include<stdio. h>
2 #include<conio. h>
3 void main(){
4 FILE *fp;
5 char c;
6 clrscr();
7 fp=fopen("myfile. txt","r");
8 while((c=fgetc(fp))! =EOF){
Answered by
1
see my attachment answer ans me and pls report my answer
Attachments:
![](https://hi-static.z-dn.net/files/ddc/956d668403f7ec3895d5f4c30a903abb.png)
Similar questions
Physics,
1 month ago
CBSE BOARD X,
1 month ago
Math,
1 month ago
English,
3 months ago
Computer Science,
3 months ago
Math,
11 months ago
Math,
11 months ago