16 lines
170 B
C
16 lines
170 B
C
void add(int x, int y) {
|
|
int i;
|
|
println(x+y);
|
|
}
|
|
|
|
void main() {
|
|
int a;
|
|
int b;
|
|
println("This program prints 7 7");
|
|
add(3, 4);
|
|
|
|
a = 5;
|
|
b = 2;
|
|
add(a, b);
|
|
}
|