update memory

This commit is contained in:
firmianay
2017-08-11 23:38:12 +08:00
parent 321ae62e58
commit 6e61a3f025
5 changed files with 265 additions and 4 deletions

11
src/Others/1.5.7_stack.c Normal file
View File

@ -0,0 +1,11 @@
#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;
}