Pointers in C

The cluster centers on discussions about pointers in the C programming language, including their challenges, pointer arithmetic, differences from references and arrays, learning tips, and practical usage.

📉 Falling 0.4x Programming Languages
4,162
Comments
20
Years Active
5
Top Authors
#8430
Topic ID

Activity Over Time

2007
7
2008
30
2009
52
2010
94
2011
155
2012
163
2013
208
2014
161
2015
223
2016
316
2017
203
2018
333
2019
195
2020
438
2021
301
2022
391
2023
308
2024
277
2025
295
2026
12

Keywords

MMU P.O UB GP IMO parm.v ELF OS ycombinator.com VLA pointers pointer char arithmetic array int intrusive references arrays programming

Sample Comments

umanwizard • Mar 27, 2016 • View on HN

What's the difference, in practice? Just the fact that you can do pointer arithmetic on the former?

ris • Jun 4, 2017 • View on HN

You're not supposed to do pointer arithmetic with these pointers. It's generally meant for storing pointers "at rest".

dddnzzz334 • Feb 26, 2022 • View on HN

How do I learn all these pointer hacks in C?

csours • Oct 10, 2023 • View on HN

How do you keep your sanity while using pointers in C?

didip • Nov 7, 2022 • View on HN

He probably doesn’t want pointer arithmetic.

IshKebab • Aug 19, 2023 • View on HN

Ah, not the pointer problems I thought they were talking about...

wiz21c • Jan 20, 2021 • View on HN

pointer is an implementation detail. No one should have to learned that first.

de_watcher • Mar 2, 2020 • View on HN

For C it was about the pointers.

Kranar • Oct 15, 2023 • View on HN

The comment specifically referred to references and pointers whereas your example does not.

1oooqooq • Apr 24, 2024 • View on HN

forgot to mention every char and [] are also implied pointers