Home » C Programming » Input / Output

What will be the output of the program? #include<stdio.h> int main() { FILE *ptr; char i; ptr = fopen("myfile.c", "r"); while((i=fgetc(ptr))!=NULL) printf("%c", i); return 0; }

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!