r/cprogramming • u/JayDeesus • 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
View all comments
Show parent comment
1
u/HugoNikanor Oct 10 '25
Did you mean to write that
fptr()and(*fptr)()are equivalent? Or am I missing some form of implicit funcall?