writing in a file in C Get link Facebook X Pinterest Email Other Apps April 09, 2022 #include <stdio.h>int main(){FILE * fptr;int number=89;fptr= fopen("generated.txt", "w");fprintf(fptr,"The number is %d",number);fclose(fptr); return 0;} Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment