blob: 1a9461a0cfb5d16d6295e8876ee2873d837dfdc8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#include "stdio.h"
int myfunc1(void) {return 1;}
int myfunc2(void) {return 2;}
int myfunc3(void) {return 3;}
int myfunc4(void) {return 4;}
int myfunc5(void) {return 5;}
int myfunc6(void) {return 6;}
int add2(int a, int b) {return a + b;}
int sub2(int a, int b) {return a - b;}
double adddouble(double a, double b) {return a+b;}
double subdouble(double a, double b) {return a-b;}
double triple(double a, double b, double c) {return a+b+c;}
int myvar1 = 1;
int myvar2 = 2;
int myvar3 = 3;
int myvar4 = 4;
int main(int argc, char** argv) {
int sum;
sum = add2(10, 20);
printf("i live!\n");
return sub2(20, 10);
}
|