#include <stdio.h>

void change_to_thirty_times(int*);

void change_to_thirty_times(int*a){
    *a=*a*30;
}

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;
}

Embed on website

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