#include <stdio.h> void incremento(int *a) { (*a)++; } void main() { int x = 5; printf("Prima : x = %d\n", x); incremento(&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: