20 lines
203 B
C
20 lines
203 B
C
#include "printlib.h"
|
|
|
|
// Call of function with no parameter
|
|
|
|
int f(int x){
|
|
int y ;
|
|
y = 42;
|
|
return y;
|
|
}
|
|
|
|
int main(){
|
|
int val;
|
|
val = f(123);
|
|
println_int(val);
|
|
return 0;
|
|
}
|
|
|
|
// EXPECTED
|
|
// 42
|