#include <stdio.h>
void change_to_thirty_times(int*);
void change_to_thirty_times(int* a){
*a = *a * 10;
}
int main(){
int x = 45;
printf("The value of x is %d\n", x);
change_to_thirty_times(&x);
printf("The value of x is %d\n", x);
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: