The conversation between human and AI assistant.
How do I write programs in C?
How do I write a simple "Hello, world!" program in C?
It's quite simple. Here's what the code looks like:

#include <stdio.h>

int main() {
   printf("Hello, world!\n");
   return 0;
}

Just copy and paste that into a text editor, save it as a .c file, and then compile it using your C compiler.