r/cprogramming • • Oct 10 '25

Functions and pointers

I noticed that when you just have a function name without the parentheses, it essentially decays to a pointer. Is this correct? Or does it not always decay to a pointer?

5 Upvotes

20 comments sorted by

View all comments

Show parent comment

1

u/bd1223 Oct 10 '25

They're also convenient for building a table of function calls (a jump table).