c print to stderr

#include <stdio.h>

int main() {
    fprintf(stderr, "This is an error message printed to stderr.\n");
    return 0;
}