Pointers in C/C++

Remove the limitation of only returning one value

Rahul Bhatt
Aug 16, 2020 · 3 min read

Pointers are identical to a variable but stores the address of another variable. The pointer’s data type will be the same as the data type of the variable. The call by reference method arguments to a function copies the address of an argument into the formal parameter. A variable stores the value and pointer stores the address of a variable. You can…