C
Beginner
1 min read
What Is C and Why Learn It?
Example
/*
* hello.c — the traditional first C program.
* Compile: gcc hello.c -o hello
* Run: ./hello
*/
#include <stdio.h> /* standard I/O library */
int main(void)
{
/* printf writes formatted text to stdout */
printf("Hello, World!\n");
/*
* main() returns an int to the operating system.
* 0 conventionally means "success".
*/
return 0;
}