Hello, world
The smallest NanoC program: an include, a function without braces and an implicit result.
+ <stdio.h>
f main()
printf("Hello from NanoC! %d %g\n", 6 * 7, 1.5)
0
#include <stdio.h>
int main(void) {
printf("Hello from NanoC! %d %g\n", 6 * 7, 1.5);
return 0;
}
Output
Hello from NanoC! 42 1.5
What it shows
functions, includes