------------------------------------------------------------------------------
MC logo
Hello, World!
[^] Code Examples
------------------------------------------------------------------------------
<<Introduction hello.c Hello in C++>>
/* Say hello, C. */
#include <stdio.h>
int main(void)
{
        printf("Hello, world!\n");
        return 0;
}

Comment: /* ... */

// is also a legal C comment as of C99, though most compilers have supported it for some time.

Semicolon is a terminator

Preprocessor Directive: #include.

Function main
No Class!

Call to printf

String Constant

Newline Character
<<Introduction Hello in C++>>