#include <stdio.h> void incremento(int *a) { (*a)++; } void main() { int x=4; printf("Prima : x = %d\n", x); incremento(&x); //a=&x printf("Dopo : x = %d\n", x); }
To embed this project on your website, copy the following code and paste it into your website's HTML: