C language How to append content to files

www‮‬.lautturi.com
C language How to append content to files
/*
How to append text to file in C language
*/

#include <stdio.h>
#include <stdlib.h>

int main()
{
    FILE *filePointer = fopen("test.txt", "a");

    fputs("append text", filePointer);
    return 0;
}
Created Time:2017-08-22 14:02:37  Author:lautturi