What operator do you use to assign a pointer the address of-00760
This subjective question is related to the book/course vu cs504 Software Engineering - I. It can also be found in vu cs504 Mid Term Solved Past Paper No. 1.
Question 1: What operator do you use to assign a pointer the address of another variable or constant
int i;
int * ptri;
ptri = &i;
Answer:
& sign. For example,int i;
int * ptri;
ptri = &i;