ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

Why is it difficult to learn Pointers in programming.?

user-image
تم إضافة السؤال من قبل Abdul Khader Shaik , IT & Ops Manager , TheSmartlabs
تاريخ النشر: 2018/08/08
Ahmed Ibrahim Rihan
من قبل Ahmed Ibrahim Rihan , Software Development Supervisor , Orange - Egypt

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 

Abdulaziz Al-Khlaif
من قبل Abdulaziz Al-Khlaif , Chief Information Officer , Dr. Abdul Rahman Al-Mishari Hospital

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.

apurva kumari
من قبل apurva kumari , Fresher , IT

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.

مستخدم محذوف‎
من قبل مستخدم محذوف‎

Pointers are addresses of central memory cases . So , for each data used in programs we Can also manage their addresses . Problems that may happend are so we can keep coherent when we need to delete or add new values to my data.

Mohamed Awaad
من قبل Mohamed Awaad , CTO Chief Technology Officer , SchemeCode

It will become very easy to learn, when we know the concept of it. The base concept of pointers is that pointer is a variable that holds the address of another variable and this also applied on objects, arrays, ...

المزيد من الأسئلة المماثلة