CAP/MiniC/TP06/tests/provided/basic-functions/test_fun_call03.c
2024-10-06 19:58:11 +02:00

18 lines
199 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, 30);
println_int(val);
return 0;
}
// EXPECTED
// 42