/*====================================================================*/


/*
 * Your basic "hello world" program, version 1.
 * 2018-06-22
 */
#include<stdio.h>

int main(int argc, char **argv)
{
    printf("Hello, world\n");   // print you-know-what
    return 0;
}


/*====================================================================*/


/*
 * Your basic "hello world" program, version 2.
 * 2018-06-22
 */
#include<stdio.h>

int main(int argc, char **argv)
{
    char message[] = "Hello, world\n";

    printf(message);    // print a message that says you-know-what
    return 0;
}


/*====================================================================*/


/*
 * Your basic "hello world" program, version 3.
 * 2018-06-22
 */
#include<stdio.h>

int main(int argc, char **argv)
{
    char message[] = "Hello, world\n";

    // Print you-know-what one character at a time,
    // separated by blank spaces:
    for (int i = 0; i < strlen(message); i++) {
        printf(" %c", message[i]);
    }
    return 0;
}


/*====================================================================*/