1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include <stdio.h> #include <stdlib.h> #include <string.h> int main ( void ) { int *p; *p = 10; printf ( "endereco: %p\n", p ); printf ( "valor : %d\n", *p ); return 0; }
1 2
endereco: 0x4014cd24 valor : 10