logoalt Hacker News

saagarjhatoday at 4:18 AM1 replyview on HN

Of course, the correct way to use a function pointer is to call it.


Replies

nitrixtoday at 4:19 AM

Yes, the () operator dereference function pointers automatically for you for convenience. There's also the surprise that you can infinitely dereference function pointers as they just yield you more function pointers.