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

Why We Should Never Use gets()… And Why To Use fgets() Instead | C Programming Tutorial

30.6K views on YouTube

Why we should never use the gets() function in C, including an explanation as to how it is unsafe due to buffer overflow, and an explanation as to why we should use fgets instead. Source code: https://github.com/portfoliocourses/c-example-code/blob/main/gets.c Check out https://www.portfoliocourses.com to build a portfolio that will impress employers!