[ create a new paste ] login | about

Link: http://codepad.org/uirSkGr1    [ raw code | output | fork ]

godneil - C, pasted on Apr 2:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# include <stdio.h>

int main(void) {

int total = 5;
int *love;
love = &total;

printf("The Memory Address is: %d", love, total);

printf(" The Value is: %d", *love, total);

return 0;


}


Output:
1
The Memory Address is: -42932 The Value is: 5


Create a new paste based on this one


Comments: