1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include <stdio.h> void blorf(void); int main() { puts("The main function always runs first"); blorf(); blorf(); puts("Thanks, blorf()"); return(0); } void blorf(void) { puts("The blorf() runs when it's called"); }
1 2 3 4
The main function always runs first The blorf() runs when it's called The blorf() runs when it's called Thanks, blorf()