Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(void) {
- int n = 5;
- // Get the address of n
- int* n_ptr = &n;
- // Dereference n_ptr to get n
- printf("%d\n", *n_ptr);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement