Uses of pointers. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Uses of pointers.

The use of pointers in C++. The purpose to make pointers in C++??

28th Nov 2019, 5:10 PM
Azan Sarfaraz
Azan Sarfaraz - avatar
3 Answers
+ 4
https://www.w3schools.com/cpp/cpp_pointers.asp Read this, it might be helpful.
28th Nov 2019, 5:22 PM
NightFox
NightFox - avatar
28th Nov 2019, 5:21 PM
Avinesh
Avinesh - avatar
+ 2
Azan Sarfraz the pointer is used to store the address of another variable, and should not be used to store value because it is not your job. The pointer points to another variable, and we must always assign it the address of a variable. 1.Using pointers in C++. 2.Set character by address of allocated character in memory. 3.WIKIPEDIA link. https://code.sololearn.com/cmi1sTkJmOf8/?ref=app https://code.sololearn.com/czRZhpjzSVzM/?ref=app https://en.m.wikipedia.org/wiki/Pointer_(computer_programming)
28th Nov 2019, 7:14 PM
ANDRONIC
ANDRONIC - avatar