Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

function vs. &function Pointers | C Programming Tutorial

12.1K views on YouTube

We can use either function or &function to get the pointer to a function in C, and it actually makes NO difference which we use! In this video we explore and demonstrate that there is no difference between function and &function. Source code: https://github.com/portfoliocourses/c-example-code/blob/main/function_vs_%26function.c. Check out https://www.portfoliocourses.com to build a portfolio that will impress employers!

Stackoverflow thread referencing C99 documentation that shows the two are equivalent: https://stackoverflow.com/questions/6293403/in-c-what-is-the-difference-between-function-and-function-when-passed-as-a