mirror of
https://gitlab.com/blau_araujo/cblc.git
synced 2025-05-10 02:26:36 -03:00
16 lines
330 B
C
16 lines
330 B
C
#include <stdio.h>
|
|
|
|
int main(void) {
|
|
|
|
int a = 25;
|
|
int b = 17;
|
|
int *p = &b;
|
|
|
|
printf("Endereço (b) : %p\n", p);
|
|
printf("Valor : %d\n", *p);
|
|
printf("Endereço (a) : %p\n", &a);
|
|
printf("Endereço (p + 1): %p\n", p + 1);
|
|
printf("Valor : %d\n", *(p + 1));
|
|
|
|
return 0;
|
|
}
|