Uncategorized

Functions + Variable Scope – Part 14 of C Programming for Beginners

The golden rule of programming is make your code as concise as possible. Functions enable you to reach that goal by enabling you to avoid rewriting the same piece of code multiple times within your program. Functions allow you to define a set of commands at the beginning of a program and reuse it many times later on with only one line of code. Defining functions requires a programmer to be conscious of a variable’s scope, or the range at which a variable can be accessed with in a program. Accordingly, we are also discussing scope in this video.

Check out my book, “Building Smart LEGO MINDSTORMS EV3 Robots,” available on Amazon: https://amzn.to/2MyGVCl

My Patreon supporters for more than $5 for the month of March were: Jeffrey Jahja, Al Douglas, and Executor Akamia. Thank you very much!

My supporters on Patreon contribute additional funding that allow me to build up and improve this channel and to make more videos. If you would like to help, you can support me here: https://www.patreon.com/builderdude35

Special thanks to my friend Preston Nichols for designing Builderdude35’s introduction and logo!