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

How To Use atexit() To Set A Function To Run On Program Exit | C Programming Tutorial

3.7K views on YouTube

How to use the atexit() function in C to schedule a function to run whenever the program exits. Source code: https://github.com/portfoliocourses/c-example-code/blob/main/atexit.c. Check out https://www.portfoliocourses.com to build a portfolio that will impress employers!