#include <stdio.h>

void raddoppia(int *x) {
    *x = *x * 2;
}

int main() {
    int n;
    n = 3;
    raddoppia( &n );
    printf("%d\n", n );
}

Embed on website

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