This time we converted "Hello World" in a modular program. One module contains the message, and one sends the greeting.
Well, that's the way it's supposed to work, something funny is happening.
// Message to say hello const char[] message = "Hello World!\n";
#include <stdio.h>
extern const char* const message;
int main()
{
printf(message);
return(0);
}
Source code for the string Source code for main
Hint 1: C is not typesafe.