I am learning pointers.
int main() { int a = 2; cal(&a); } void cal(int* a) { //Here: //What does the value of a mean? //What does the value of &a mean? } As you see above, in main(), I passed the address of a to function cal(int* a).
I am wondering what is the meaning of value a and &a in cal(int*) ?
Is a in cal(int*) represents the address of a in main() ?
Is &a in cal(int*) represents only the address which points to the address of a in main()?