Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int add(int x, int y){
- return x+y;
- }
- int mul(int x, int y){
- return x*y;
- }
- int main(){
- printf("Total: %d\n",add(10,20));
- printf("Total: %d\n",mul(10,20));
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement