# Principles of using this textbook#

## Embedded Code 💻#

Code will appear in boxes like these.

You can copy code by hovering on this box and pressing on the button at the top right.


You can also download the .c file of the program by clicking on file name in text. For example, download hello-world.c if you want to edit the code yourself. If it opens a new window with contents of the file, right-click on the page and select Save As. You can choose where you want to save the file. Please make sure it is saved as .c file not .txt file.

Example or potential output to the code will be shown as in the following example.

Output will appear in boxes like these. These cannot be copied.
Inputs to code will appear in bold.


## Exercises 🏋#

Every chapter will have an exercises section. This section will include past exams questions related to the concepts discussed in the chapter (or previous chapters). Some may be marked as [Easy], [Intermediate] or [Challenging]. The difficulty level is subjective and may vary from person to person. I expect you to solve these exercises after we cover the chapter in the lectures.

These exercises will have solutions that will be hidden and you need to click to show the answer. For example,

## Debugging 🐞#

In some chapters, there will be a section on debugging. It will discuss the most common mistakes programmers make related to the chapter. It may or may not include a YouTube video where I debug a code using concepts discussed in the chapter.