You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
271 B
C
15 lines
271 B
C
5 years ago
|
#include<stdio.h>
|
||
|
int main(){
|
||
|
FILE *fp;
|
||
|
char c;
|
||
|
fp = fopen(__FILE__,"r");
|
||
|
|
||
|
do{
|
||
|
c= getc(fp);
|
||
|
putchar(c);
|
||
|
}
|
||
|
|
||
|
while(c!=EOF);
|
||
|
fclose(fp);
|
||
|
return 0;
|
||
|
}
|