[ create a new paste ] login | about

Link: http://codepad.org/DPTLR01d    [ raw code | output | fork ]

kamarakay2000 - C, pasted on Jul 8:
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");
} 
  


Output:
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()


Create a new paste based on this one


Comments: