Is there any difference between the following two assignment methods?
int * ptr1;
int ** ptr2;
//method 1
*ptr2 = ptr1;
//method 2
ptr2 = &ptr1;
Is there any difference between the following two assignment methods?
int * ptr1;
int ** ptr2;
//method 1
*ptr2 = ptr1;
//method 2
ptr2 = &ptr1;
Copyright © 2021 Jogjafile Inc.
They are not the same!