#include <stdio.h> void inc(int* x){ *x += 1; } int main(void){ int x; scanf("%d", &x); inc(&x); printf("O novo valor de x é: %d\n", x); }
To embed this project on your website, copy the following code and paste it into your website's HTML: