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