CTF-All-In-One/src/Others/1.5.7_stack.c

12 lines
169 B
C
Raw Normal View History

2017-08-11 22:38:12 +07:00
#include<stdio.h>
int add(int a, int b) {
int x = a, y = b;
return (x + y);
}
int main() {
int a = 1, b = 2;
printf("%d\n", add(a, b));
return 0;
}