helloworld.c - a C program that prints a short message to the terminal and introduces C comments.
variables.c - a C program showing how to work with variables, constants, assignments and basic math, and printf statements.
conditions.c - a C program that works with if, if-else-if, and switch statements (conditions).
loops.c - a C program that works with for, while, and do-while loops.
char_arrays_and_pointers.c - In C, unlike Java, there are no string objects; instead, we have "C-strings", which are arrays of characters!
files.c - a C program that reads and writes to files. We will learn more ways when covering File I/O.
functions.c - a C program that declares and defines several functions and calls them inside main().
structs.c - a C program that introduces C structs (structures).
error_checking.c - a C program that reminds us that errors must be checked even after a user entered some input (there are 1000s of ways things can go wrong during a program's execution!)
command_line_arguments.c - since we will create programs that take command line arguments (just like gcc does,) we view here how to access the command line arguments that were passed to a C program.
Runnable Linux Commands
The command: gcc -Wall -Wextra -O2 -g -o program program.c
compiles the C source code located inside the file program.c. See more details here.
The command: . ./.short_prompt
executes code inside a file named .short_prompt and sources it (applies all the changes to the current session.) See more details here.
The command: . ./.long_prompt
executes code inside a file named .long_prompt and sources it (applies all the changes to the current session.) See more details here.