c-repl/example/stack_trace.c

14 lines
168 B
C
Raw Normal View History

2024-01-12 13:37:52 +01:00
int function1(int a) {
return a/0;
}
int function2(int b, int c) {
return function1(b+c);
}
int main(int x) {
return function2(x, 2*x+3)*12;
}
main(3);;