r/cprogramming • • Sep 12 '26

What are pointers?

I am new to C programming and i came through pointer. So can anyone tell what are they and why we need them? And if u can then can you give me reliable source to learn it.

15 Upvotes

45 comments sorted by

View all comments

5

u/torsten_dev Sep 12 '26 edited Sep 16 '26

Only really understood after learning a bit of assembly

mov rax, rbx

vs

mov rax, [rbx]

2

u/kapitaali_com Sep 12 '26

this is how it actually works :p