C examples for Language Basics:Hello World
Output message from two functions
#include <stdio.h> void functionA(void); void functionB(void); int main(void) { functionA(); //from w ww. j a v a 2s . c om functionA(); functionA(); functionB(); return 0; } void functionA(void) { printf("test!\n"); } void functionB(void) { printf("hi!\n"); }