Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Why is it difficult to learn Pointers in programming.?

user-image
Question added by Abdul Khader Shaik , Cyber Crime Lawyer , Grofers
Date Posted: 2018/08/08
Ahmed Ibrahim Rihan
by 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
by Abdulaziz Al-Khlaif , Deputy Chief Executive officer , TAIB Saudi LLC

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
by 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.

Deleted user
by Deleted user

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.

Deleted user
by Deleted user

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
by 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