C shop Basics cheat sheet code example
Example: c cheat sheet
Two very good C Cheat Sheets are:
https://www.dummies.com/programming/c/c-programming-for-dummies-cheat-sheet/
https://courses.cs.washington.edu/courses/cse351/16wi/sections/1/Cheatsheet-c.pdf