Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <ctype.h>
- #include <string.h>
- #include <math.h>
- int main()
- {
- int tuna = 19;
- int * pTuna = &tuna;
- printf("Address \t Name \t Value \n");
- printf("%p \t %s \t %d \n", pTuna, "tuna", tuna);
- printf("%p \t %s \t %p \n", &pTuna, "pTuna", pTuna);
- printf("\n*pTuna: %d \n", *pTuna);
- *pTuna = 71;
- printf("\n*pTuna: %d \n", *pTuna);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement