-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrittingfiles.c
More file actions
32 lines (29 loc) · 818 Bytes
/
writtingfiles.c
File metadata and controls
32 lines (29 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* =====================================================================================
*
* Filename: writtingfiles.c
*
* Description:
*
* Version: 1.0
* Created: 19-Oct-21 14:19:30
* Revision: none
* Compiler: gcc
*
* Author: Jwtiyar Nariman (), jwtiyar@gmail.com
* Organization:
*
* =====================================================================================
*/
#include <stdlib.h>
#include <stdio.h>
int main() {
char line[555];
/* FILE * fpointer = fopen("tssxt.txt", "w"); /1* "a " bo eweye file keye wek xoy bet w nwsynake bxeyte sery nek peshw bsretewe *1/ */
/* fprintf(fpointer,"Hi Jwtyo"); */
FILE * fpointer = fopen("tssxt.txt", "r");
fgets(line,555,fpointer);
printf("%s",line);
fclose(fpointer);
return 0;
}