How to pass a pointer to a function that can change to addr of the pointer?

How to pass a pointer to a function that can change to addr of the pointer?

This is a discussion on How to pass a pointer to a function that can change to addr of the pointer? within the C Programming forums, part of the General Programming Boards category; //in this way:
Code:
void ChangeAddr( int **b ){
*b = (int*) malloc( ... );
}
void main(){
int *a ...