1
#include <stdio.h>
#include <stdlib.h>
#include <locale.h>
int main()
{
setlocale(LC_ALL,"");
int *x,valor,y;
valor = 35;
x = &valor;
y = *x;
printf("o endereço da variavel valor: %p\n", &valor);
printf("endereço da variavel ponteiro x: %p\n", &x);
printf("conteudo da variavel apontada por x: %d\n", x);
printf("conteudo da variavel comum y: %d\n", y);
}
I wish to make this code run within a program on python. How do I do? I’m starting to python but I want to work with pointers by merging the languages, because until then I haven’t found how to do this only with python.