#include <stdio.h> void P(int *x,int y){ *x += y; } int main() { int A = 5; printf("%d!\n",A); int *A2 = &A; P(&A,1); printf("%d!\n",A); return 0; }
To embed this project on your website, copy the following code and paste it into your website's HTML: