About pointers | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

About pointers

pointer(*) is just a variable that contains address as their value of some another variable .with the help of pointer the complier can easily pick the value(int,float,...) that is stored in variables (a,b,...). pointer is similar as (&) but the only difference that is the & is used when we want that the complier read the value stored in variable but the (*) is used when the we point to the address .

26th Mar 2018, 2:52 AM
KAG
KAG - avatar
1 Answer
+ 9
Hello, and welcome to the SoloLearn Q&A! We'll be glad to answer any question you ask here! This post could be helpful for learners in the C++ lessons! Could you please move this to the lesson comments? By the way, take a quick look at our posting guidelines when you can: https://www.sololearn.com/discuss/321242/?ref=app https://www.sololearn.com/Discuss/593497/?ref=app https://www.sololearn.com/Discuss/333866/?ref=app
26th Mar 2018, 3:50 AM
Tamra
Tamra - avatar