C examples for Language Basics:Hello World
A program using two functions in one file
#include <stdio.h> void my_function(void); /* C function prototyping */ int main(void){ printf("main.\n"); my_function();// w w w.j a v a2 s . co m printf("here.\n"); return 0; } void my_function(void) /* start of function definition */ { printf("hi?\n"); }