Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- //prototype
- void printSomething();
- int main()
- {
- //when you are writing big programs, you should break it up into function
- //each functions does a specific task
- //lets you reuse a bit of code over and over any time you want
- //main is the first function that your computer always calls
- printSomething();
- return 0;
- }
- void printSomething(){
- printf("I love functions");
- //function is complete
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement