Answers for "print the address of a pointer in c"

C
1

how to print the address of a pointer in c

int a = 42;

printf("%pn", (void *) &a);
Posted by: Guest on July-03-2020

Code answers related to "print the address of a pointer in c"

Code answers related to "C"

Browse Popular Code Answers by Language