+ 1

what is the meaning of "->" explain in simple words data structure?

"->" this operator is being used everywhere in dsa what does it means

13th Jan 2023, 11:17 AM
badrul hasan
badrul hasan - avatar
1 ответ
+ 2
The arrow operator ( -> ) is used to access the elements of a struct or a union when you have a pointer to such struct or union. (pointer)->(variable) If you don't use a pointer to a struct or union, then the dot operator ( . ) is used instead.
13th Jan 2023, 11:46 AM
Edgar Sabido
Edgar Sabido - avatar