https://github.com/judevector/sentence
C program to write a sentence to a file
https://github.com/judevector/sentence
Last synced: over 1 year ago
JSON representation
C program to write a sentence to a file
- Host: GitHub
- URL: https://github.com/judevector/sentence
- Owner: judeVector
- Created: 2022-10-25T16:56:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-25T16:59:52.000Z (over 3 years ago)
- Last Synced: 2025-01-06T22:54:04.517Z (over 1 year ago)
- Language: C
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sentence
C program to write a sentence to a file
In this we are writing the a line entered by user into the mentioned file.
If file opened successfully, we are reading the user input using fgets() function and writing into the file using fprintf() function.
In the end we are closing the file using fclose() function.