Could anyone explain me the meaning of -> in C++ syntax? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Could anyone explain me the meaning of -> in C++ syntax?

My question arise from the study of linked lists data structure in C++ procedural programming

9th Sep 2019, 2:22 PM
riccardo
3 Answers
+ 1
obj->var is equivalent to (*obj).var
9th Sep 2019, 2:23 PM
Bebida Roja
Bebida Roja - avatar
0
thank you very much
9th Sep 2019, 2:37 PM
riccardo
0
youre welcome ;)
9th Sep 2019, 2:52 PM
Bebida Roja
Bebida Roja - avatar