18 lines
211 B
C
18 lines
211 B
C
|
#include "printlib.h"
|
||
|
|
||
|
// Call of function with two parameters
|
||
|
|
||
|
int f(int x, int y){
|
||
|
return x + y;
|
||
|
}
|
||
|
|
||
|
int main(){
|
||
|
int val;
|
||
|
val = f(12, 31) - f(13,-12);
|
||
|
println_int(val);
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
// EXPECTED
|
||
|
// 42
|