أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
It is not difficult but it is confusing sometimes when working with pointers as you have to imagine how it works in memory and when you get to this part it seems difficult to understand how memory works same as the garbage collector.imagine pointers as guards which looks after buildings which are the memory slots they watch their building whenever they asked to watch them and get data from it
in my view the Pointers are confusing for most is that it is hard to imagine therefore it is hard to be understood. it helps to think about them as no more than addresses and not in terms of Data or variables.
Pointers are not very difficult it is indeed confusing than difficult. I find it confusing due to it's syntax and different crossovers like arrar/pointers crossovers in this case it is difficult to keep track. Second thing which make pointers confusing is that pointers hold no information about what they point to. And the most complicated thing is it's syntax speciaaly in case of crossovers.
Pointers, especially in C++, can be easy and difficult. The easy part about it is that it stores the memory address of a variable of the same type. The difficult part about it is using it in programming. Not understanding how pointers work in the system makes it very difficult to learn.