Sorry if this post comes off as ignorant, but I\'m still very new to C, so I don\'t have a great understanding of it. Right now I\'m trying to figure out pointers.
#include
int change(int * b){
* b = 4;
return 0;
}
int main(){
int b = 6; // <- just int not a pointer to int
change(&b); // address of the int
printf("%d", b);
return 0;
}