Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

Why is it difficult to learn Pointers in programming.?

user-image
Question ajoutée par Abdul Khader Shaik , Cyber Crime Lawyer , Grofers
Date de publication: 2018/08/08
Ahmed Ibrahim Rihan
par 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
par 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
par 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.

Utilisateur supprimé
par Utilisateur supprimé

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.

Utilisateur supprimé
par Utilisateur supprimé

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
par 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, ...

More Questions Like This