IDE - Code Blocks - Windows | Linux | Mac OS
CodeBlocks - Download & Setup
CodeBlocks - Start New Project
Online Compilers Solution - Just Get Started!
NOTE for MAC Users or Users who didn't manage to install IDE!
General Introduction to XCode for Mac Users
Download & Install XCode on MAC
Making Sure "gcc" is Installed
Download & Install CodeBlocks - MAC
Starting a new CodeBlocks Project - MAC
NOTE for MAC Users or Users who didn't manage to install IDE!
Visual Studio Windows - Download
Visual Studio Windows - Getting Started
Visual Studio Code Windows - Download & Install
Visual Studio Code Windows Official - Getting Started
Eclipse - Getting Started using C (Windows)
CodeLite Windows - Download & Install
CodeLite Windows - Getting Started
Welcome printf() function!
Challenge #1 - Print Your First Name And Last Name!
Challenge #2 - Print Your Full Name Age And Gender!
Challenge #3 - Print An "Isosceles Triangle"
End of Section: Practice Your Knowledge!
Format Specifications in C - Why And How They Should Be Used
Format Specification Exercise - Download The PDF File
Milestone #1 - Building Your First Calculator A
Milestone #1 - Solution! [Make sure to Compare with your answers]
End of Section: Practice Your Knowledge!
Print Rectangle of Asterisks - Question
Print Rectangle of Asterisks - Solution
Print Asterisks Pattern - Question
Print Asterisks Pattern - Solution
Print Your Birth Year - Question
Print Your Birth Year - Solution
Variables - General Concept In Programming
Variables - Complete Usage in C Language
Variables Code Example #1
Challenge #1 - Find your Year of Birth!
Challenge #2 - Calculate Rectangle's Area
Practical Assignment: Calculate Rectangle's Perimeter
Casting in C Programming Language
Challenge #3 - Calculating your Average Grade
Milestone 2 - Weather Station A
General SWAP in Programming
Basic Practical Assignment: Implement Swap between 2 Floating Point Numbers
Variables - Summary! You're doing GREAT!
Arithmetic Sequence - General Introduction and Explanation
n-th Term of Arithmetic Sequence - Question
n-th Term of Arithmetic Sequence - Solution
Sum of Arithmetic Sequence - Question
Sum of Arithmetic Sequence - Solution
Employee Salary Calculator - Question
Employee Salary Calculator - Solution
Finding a Driving Time - Question
Finding a Driving Time - Solution
Convert Seconds into Hours Minutes and Seconds - Question
Convert Seconds into Hours Minutes and Seconds - Solution
Removing Decimal Part from an Integer - Question
Removing Decimal Part from an Integer - Solution
Sum of Triple Digits - Question
Sum of Triple Digits - Solution
Print Reversed Number - Question
Print Reversed Number - Solution
Distance Between 2 Points - Question
Distance Between 2 Points - Solution
Efficient Calculation Example - Question
Efficient Calculation Example - Solution
Control Flow - Introduction
Congratulations / Failed - How should you decide?
Congratulations In C - Complete Usage Of Conditions In C Programming
Finding Maximum between 2 numbers - General Concept
Finding Maximum - Implementation in C!
Control Flow - Relational Operators
Challenge #1 - Find if number is Odd or Even
Challenge #2 - print MIN and MAX
Challenge #3 - min & max among 3 numbers
Control Flow - Moving Forward!
Moving Forward - in C Language
Logical Operators - General Concept
Logical Operators in C Programming Language
Switch Case + FULL Example
Conditions - Summary! Amazing Concept True/False? :)
Milestone - Intermediate Calculator (using Switch Case)
EXTRA: Milestone - Solution
Conditions Assignment: Practice On Your Own!
Check if Numbers are the same - Question
Check if Numbers are the same - Solution
Check if a number is double-digit or triple-digit - Question
Check if a number is double-digit or triple-digit - Solution
Print the Absolute Number - Question
Print the Absolute Number - Solution
Quadrant of a Point - Question
Quadrant of a Point - Solution
Month Number to Month Name - Question
Month Number to Month Name - Solution
Unique Clock Representation - Question
Unique Clock Representation - Solution
Divisible 3 Numbers Example - Question
Divisible 3 Numbers Example - Solution
Find the next day on Calendar! - Question
Find the next day on Calendar! - Solution
Introduction to Bits Bytes and Binary Numbers
Practice - Binary Numbers to Decimal Numbers Conversion
Decimal to Binary Conversion - Intro
Decimal to Binary Conversion - Practical Exercise
Decimal to Binary Conversion - Additional Exercises
Hexadecimal Numbers - Base 16 Notation
Hexadecimal Conversions (Hex to Dec) - Introduction
Hex to Dec - Practice Question
Hex to Dec - Practice Solution
Hexadecimal Conversions (Dec to Hex)
Hexadecimal Conversions (Hex to Bin)
Hex to Bin - Practice Solution
Hexadecimal Conversions (Bin to Hex)
Introduction to ASCII table!
Practical Example for Displaying Values
ASCII Memory Representation & Summary
A Program to Print a Date In Hexadecimal - Question
A Program to Print a Date In Hexadecimal - Solution
Inspecting a Textual File Stored on Disk
Programs to check if an input is Lower_Upper_Case_Letter_or_Digit - Question
Programs to check if an input is Lower_Upper_Case_Letter_or_Digit - Solution
While Loops - General Structure
While Loops in C Programming Language!
Challenge #1 - Printing any number of asterisks
Challenge #2 - Adding Pow to Calculator!
Milestone #1 - Coolest Average Grade Calculator
EXTRA: Milestone #1 - Solution
Do-While Loops - C Programming Language
Challenge #3 - Enter a legal grade!
For Loops in C Programming Language
Challenge #4 - Adding POW (using For Loops)
Challenge #5! Punishment!
Challenge #5 - Punishment Solution
Nested Loops - Print Right Angle Triangle Pattern - part #1 - Question
Nested Loops - Print Right Angle Triangle Pattern - part #1 - Solution
Nested Loops - Print Right Angle Triangle Pattern - part #2 - Question
Nested Loops - Print Right Angle Triangle Pattern - part #2 - Solution
Milestone #2 - 10 Cents Million Dollars! $$$ (Ka-ching!).
Print from 1 to num and vice versa - Question
Print from 1 to num and vice versa - Solution
Print the sum of all numbers from 1 to num - Question
Print the sum of all numbers from 1 to num - Solution
Print the Multiplication Table of a number - Question
Print the Multiplication Table of a number - Solution
Print n even natural numbers - Question
Print n even natural numbers - Solution
Print Pyramid Numbers Pattern - Question
Print Pyramid Numbers Pattern - Solution
Print Sum of Values Divisible by 3 AND 5 - Trivial & Optimized Solutions - Quest
Print Sum of Values Divisible by 3 AND 5 - Trivial & Optimized Solutions - Solut
Print Sum of Values Divisible by 3 OR 5 - Trivial & Optimized Solutions - Quest
Print Sum of Values Divisible by 3 OR 5 - Trivial & Optimized Solutions - Solut
Very Ascending or Not - Question
Very Ascending or Not - Solution
Practice Exercise #1: Subtracting EvenDigitsSum and OddDigitsSum
Practice Exercise #2: Sum of Odd Numbers Sequence
Functions - General Concept
Functions - Basic Structure
Functions Usage – in C Programming Language
Function Example #1 - Print Greetings!
Function Example #2 - Print Max between 2 Integers
Function Example #3 - Return Max between 3 Integers
Function Example #4 - Calc & Return avg between 3 numbers
Challenge #1 - Find Rectangle Area
Challenge #2 - Maximum DIGIT in a 2-digits number
Challenge #3 - Calculate FACTORIAL!
"isEven" Function C Exercise
"isOdd" Function C Exercise
Generation of Numbers 123...<seq length>
toLower Function in C - Implementation
toUpper Function in C - Implementation
Chars To 3 Digits Integer
Amount And Average Of Digits Less Than Given Digit - Question
Amount And Average Of Digits Less Than Given Digit - Solution
Basic Mathematical Question - Derivatives [Optional]
Sum Of Divisors - Question
Sum Of Advisors - Trivial Solution
Sum Of Advisors - Optimized Solution
Perfect Numbers - Question
Perfect Numbers - Solution
Arrays – Element Accessing
Challenge #1 – Finding Maximum Value in Array
Challenge #2 - Finding Maximum Index in Array
Advanced Sensors Weather Station - Milestone [Question]
Advanced Sensors Weather Station - Milestone [Solution]
Good Multiplication Neighbors
Challenge #3: Display array values in reverse order [Question & Solution]
2D Arrays - Initialization + 3 Tricks to Initialize
2D Arrays - Element Accessing
Exercise #1 - Initializing & Printing 2D Array
Exercise #2 - Multiplication Table - Solution
Input to Element in a 2D Array
Physical Representation in Memory
Pointers - Why using Pointers
Pointers – Declaration & Usage
Challenge #1 - Print Value and Address of Variables
Challenge #2 - Guess what would be printed
Pass by Reference + FULL EXAMPLE
Arrays - Copying an Array - Question
Arrays - Copying an Array - Solution
Array - Palindrome Exercise
Arrays - Largest Neighbors Sum
A Program to find if an Array is sorted - Question
A Program to find if an Array is sorted - Solution
A Program to print and count all unique elements in an array - Question
A Program to print and count all unique elements in an array - Solution
A Program to count a total number of “non-unique” values in an array - Question
A Program to count a total number of “non-unique” values in an array - Solution
A Program to Rotate Left a given array by 1 positions - Question
A Program to Rotate Left a given array by 1 positions - Solution
Continue (Upgrade): Rotate Left a given array by N positions - Question
Continue (Upgrade): Rotate Left a given array by N positions - Solution
Continue (Upgrade2): Rotate RIGHT a given array by N positions - Question
Continue (Upgrade2): Rotate RIGHT a given array by N positions - Solution
A Program to Find Two elements whose Sum is Closest to Zero - Question
A Program to Find Two Elements whose Sum is Closest to Zero - Solution
Intermediate: A Function to Calculate Any Array Sum
Intermediate: A Function to Reset All Elements of An Array to 0
Introduction to Strings in C!
Challenge #1 - Initialize a String & Print it!
Challenge #2 - Find Length of String
Let's INTRODUCE <string.h>!
Challenge #3 - Number of WORDS in a SENTENCE
10. Milestone #1 - PALINDROME MILESTONE!
Recursions - General Visualization + Introduction
Example 1 - Sum of Arithmetical Progression
Example 1 - Arithmetic Progression - Solution
Example 2 - Factorial - Solution
Challenge #2 - Sum of Digits in a Number
Challenge #3 - Count of Digits
Recursive Function - Total Numbers Less Than Num - Question
Recursive Function - Total Numbers Less Than Num - Solution
Total Characters in a Sequence - Question
Total Characters in a Sequence - Solution
Total Even Numbers in a Sequence - Question
Total Even Numbers in a Sequence - Solution
Sum of All Even Numbers - Question
Sum of All Even Numbers - Solution
Printing1ToN and NTo1 - Question
Printing1ToN and NTo1 - Solution
Printing NTo1 And Vice Versa (No 1's Duplications)
Finding Maximum Value in a Sequence of Elements (Using Recursion)
Finding Minimum Value in a Sequence of Elements
Pell Number in a Pell Sequence
Advanced - Even Digits Sum
Advanced - Even Digits Sum [OPTIMIZED & MINIMIZED]
Advanced - Odd Digits Sum
Advanced - Odd Even "Positions" and "Values" Finder - Question
Advanced - Odd Even "Positions" and "Values" Finder - Solution
Extra Recursion #1 - Print Sequence of num1s and then Sequence of num2s - Quest.
Extra Recursion #1 - Print Sequence of num1s and then Sequence of num2s - Solut.
Extra Recursion #2 - Print Sequence of char1s and then Sequencex2 of char2s - Q.
Extra Recursion #2 - Print Sequence of char1s and then Sequencex2 of char2s - S.
Extra Recursion #3 - Print Seq. of LowerCase Chars + Seq. of UpperCase Chars - Q
Extra Recursion #3 - Print Seq. of LowerCase Chars + Seq. of UpperCase Chars - S
Extra Recursion #4 - Find if Digits are Ascending Descending or not - Question
Extra Recursion #4 - Find if Digits are Ascending Descending or not - Solution
Extra Recursion #5 - Even_Odd Count of Digit Occurrences in num - Question
Extra Recursion #5 - Even_Odd Count of Digit Occurrences in num - Solution
Extra Recursion #5 - Minimized and Optimized Solution
Creating a Structure Template
Challenge #1 - Initialize & Print Date Variable
Challenge #4 - General Function to use Input & Print of a struct
Challenge #5 - Find the Next Date
Initializing a Struct in C
Exercise - Input Point & Print Point - Question
Exercise - Input Point & Print Point - Solution
Structs having arrays as data members (and copying struct variables)
Logical Operators #1 - Can we use Relational Operators on Structs by default
Logical Operators #2 - Writing Associate Logical Functions
Mathematical Operators - Writing Associate Functions
Comprehensive Exercise - Rational Numbers Struct - Question
Comprehensive Exercise - Rational Numbers Struct - Solution
Composing struct inside another struct
Structs as the BASIS for more Advanced Topics
Introduction - Counting with Separated Counter Variables
Explanation of working with Counter Arrays
Basic Exercise #1 - Question - Set - 0-5
Basic Exercise #1 - Solution - Set - 0-5
Basic Exercise #2 - Question - Find Max Appearances - Set - 0-9
Basic Exercise #2 - Solution - Find Max Appearances - Set - 0-9
Moving forward with the Mapping
Moving forward - Question - Find Max Appearances - Set - 5-10
Moving forward - Solution - Find Max Appearances - Set - 5-10
Exercise #1: Finding the lowercase letter that appears the most - Question
Exercise #1: Finding the lowercase letter that appears the most - Solution
Exercise #2: Finding the uppercase letter that appears the most - Question
Exercise #2: Finding the uppercase letter that appears the most - Solution
Exercise #3: Finding the letter that appears the most - Question
Exercise #3: Finding the letter that appears the most - Solution
General Introduction to Files
What is a file [as a stream of bytes]
Examples of Stream already used (Input/Output/Error)
Start with Files Steps and Syntax in C
Creating a File and Reading from a File
Intro to 6 basic functions for working with textual files
fprintf & fscanf - functions
Introducing EOF (End of File)
Exercise #1 - Number of characters in a file [Question]
Exercise #1 - Number of characters in a file [Solution]
Exercise #2 - Number of Lines in a file [Question]
Exercise #2 - Number of Lines in a file [Solution]
Exercise #3 - Writing numbers and their powers to a file[Question]
Exercise #3 - Writing numbers and their powers to a file[Solution]
Exercise #4 - Reading numbers from a file [Question]
Exercise #4 - Reading numbers from a file [Solution]
Exercise #5 - A program to calculate character appearances in a file - Question
Exercise #5 - A program to calculate character appearances in a file - Solution
Exercise #6 - lowerFrequencyAppearances Program for Lowercase Letters - Question
Exercise #6 - lowerFrequencyAppearances Program for Lowercase Letters - Solution
Exercise #7 - Print Max Appearances LowerCase Letter in File - Question
Exercise #7 - Print Max Appearances LowerCase Letter in File - Solution