MCPcopy Create free account
hub / github.com/CodeWithHarry/The-Ultimate-C-Programming-Course / main

Function main

Chapter 10/03_file_write.c:3–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include <stdio.h>
2
3int main()
4{
5 FILE *fptr;
6 fptr = fopen("harry.txt", "a");
7 int num = 432;
8 fprintf(fptr, "%d", num);
9 fclose(fptr);
10
11 return 0;
12}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected