#include <stdio.h>

int a, b, *c;

int main() {
    a=6;
    c=&a;   //c prende il valore di a
    b=*c;   //b prende il valore dell'elemento puntato da c, quindi a
    printf("c = %d\n", *c);   //oppure metto a
    printf("b = %d\n", *c);   //oppure metto a o b
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: