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

#11: Switch Statement in C | [2025] C Programming for Beginners

261.2K views on YouTube

Step by step video tutorials to learn C Programming for absolute beginners!

In this video, we will learn in detail about the switch statement. We will also get an idea about the break statement. Using switch and break, we will make decision-making programs like choosing a day of a week and creating a simple calculator.

~
Run C Online: https://www.programiz.com/c-programming/online-compiler/
Programs in this video: https://github.com/programiz/c-youtube
C Tutorial (text-based tutorial): https://www.programiz.com/c-programming/c-switch-case-statement

Watch our videos and revise them with our C App!
Download here for Android: https://bit.ly/3upaInx
Download here for iOS: https://apple.co/3EZLtNq

Timestamps:
00:00 Start
06:58 switch with multiple cases
08:16 Simple Calculator
10:12 Programming Task
10:51 Quiz

Find Programiz elsewhere:
Facebook: https://www.facebook.com/programiz
Instagram: https://www.instagram.com/_programiz/
LinkedIn: https://www.linkedin.com/company/programiz
Website: https://www.programiz.com
Twitter: https://twitter.com/programiz

#programiz #switchstatement #learncprogramming #learnc #coding #ctutorial #switch #case #calculator #break #switchcase #simplecalculator