Posts by Rodrigo • 53 points
1 post
-
5
votes1
answer210
viewsQ: What is the difference between %p and %d in C language?
Which means the memory address that appears with %p and the %d exactly? What’s the difference? int main() { int teste = 10; int *ptr = &teste; printf("%p\n%d",ptr, ptr); return 0; }…