10 lines
192 B
C
10 lines
192 B
C
|
#include <stdio.h>
|
||
|
|
||
|
main() {
|
||
|
FILE *fp;
|
||
|
|
||
|
fp = fopen("test.txt", "w+");
|
||
|
fprintf(fp, "This is testing for fprintf...\n");
|
||
|
fputs("This is testing for fputs...\n", fp);
|
||
|
fclose(fp);
|
||
|
}
|