This commit is contained in:
Remzi Arpaci-Dusseau
2019-05-19 17:22:43 -05:00
parent 3c237adcd0
commit acd67a3a42

View File

@@ -3,7 +3,7 @@
int main(int argc, char *argv[]) {
printf("location of code : %p\n", main);
printf("location of heap : %p\n", malloc(100000000));
printf("location of heap : %p\n", malloc(100e6));
int x = 3;
printf("location of stack: %p\n", &x);
return 0;