prog.c: In function 'main':
prog.c:5:24: error: initialization makes pointer from integer without a cast [-Werror=int-conversion]
int *inteiro_ptr = 4;
^
prog.c:8:12: error: format '%d' expects argument of type 'int', but argument 2 has type 'int *' [-Werror=format=]
printf("Endereco da variariavel 'inteiro': %d\n", &inteiro);
^
prog.c:9:12: error: format '%d' expects argument of type 'int', but argument 2 has type 'int *' [-Werror=format=]
printf("Valor armazenado no ponteiro 'inteiro_ptr': %d\n", inteiro_ptr);
^
prog.c:10:12: error: format '%d' expects argument of type 'int', but argument 2 has type 'int **' [-Werror=format=]
printf("Endereco armazenado no ponteiro 'inteiro_ptr': %d\n\n", &inteiro_ptr);
^
prog.c:13:13: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
inteiro = NULL;
^
prog.c:16:12: error: format '%d' expects argument of type 'int', but argument 2 has type 'int *' [-Werror=format=]
printf("Endereco armazenado no ponteiro 'inteiro_ptr': %d\n", inteiro_ptr);
^
cc1: all warnings being treated as errors