C Programming For Beginners Programming In C
C Programming 2021: Master the Fundamentals of C Programming Language for Beginner Students in College/University
Last updated 2022-01-10 | 4.5
- Fundamentals of Programming- Summarized & Concise Material [Saving TONS of Time!]
- OVER 100 Practical Exercises!
What you'll learn
* Requirements
* A computer with Windows* Linux or Mac OS
* 4GB RAM (recommended)
* No prior knowledge is required! This course if for Absolute Beginners!
Description
- Fundamentals of Programming
- Summarized & Concise Material [Saving TONS of Time!]
- OVER 100 Practical Exercises!
- Animated Explanation & Illustrations - Explaining "Hard Topics" EASY
- C Programming Language Concepts & Usage
- C Program Structure
- Using Input & Output functions
- Usage of Variables - declaration | initialization | access
- Casting
- Control Flow - if | if-else | switch-cases
- Logical Operators
- Loops - while | do-while | for
- Functions - declaration | definition | usage
- 1D Arrays - Why do we need them & How they can be used?
- 2D Arrays - Matrices
- Introducing "#define"
- Pointers - Time to Sweat! - Why | When | How
- Strings - Creating, Reading, Manipulating & Printing
- Recursion - Concept | Usage
- Constants
- Unions
Course content
31 sections • 333 lectures
Welcome! Preview 02:30
An introductory video for students in my Complete C Programming Course for Absolute Beginners!
Curriculum - What you're going to LEARN Preview 05:31
C Programming Course - Curriculum:
Fundamentals of Programming in C (What is C? Getting Started!)
Summarized & Concise Material [Saving TONS of Time!]
OVER 100 Practical Exercises in C Programming!
Animated Explanation & Illustrations - Explaining "Hard Topics" EASY
C Programming Language Concepts & Usage
C Program Structure
Using Input & Output Functions in C Language
Usage of Variables - declaration | initialization | access [Variables in C Language]
Casting in C
Control Flow - if | if-else | switch-cases
Logical Operators in C Programming
Loops - while | do-while | for [C Programming loops]
Functions - declaration | definition | usage [Functions in General & C Programming]
1D Arrays - Why do we need them & How they can be used? [Arrays in C Language]
2D Arrays - Matrices [Matrix in C]
Introducing "#define"
Pointers - Time to Sweat! - Why | When | How - [Basic Pointers in C Programming]
Strings - Creating, Reading, Manipulating & Printing [Strings in C Language]
Recursion - Concept | Usage [Recursion usage in C Language]
Constants
Unions
General Concept - User & Developer Preview 02:00
Introduction to User & Developer concept in Programming in General
“Used with permission from Prezi Inc.”
General Concept - Computer as a Unit to EXECUTE COMMANDS Preview 03:40
What is a Computer as a Unit? How will it be used in our programming course?
“Used with permission from Prezi Inc.”
General Concept - Computer Additional Common Parts Preview 04:28
Computer Additional Common Parts which are going to be used for the development of our programs.
“Used with permission from Prezi Inc.”
General Concept - What are Programming Languages? Preview 07:39
“Used with permission from Prezi Inc.”
1. IDE - Code Blocks - Windows | Linux | Mac OS Preview 02:42
Introducing different IDEs for the development process using C Programming in our course.
Among the IDEs there are:
- CodeBlocks for C.
- Visual Studio for C.
- CodeLite using C Programming Language and Compiler.
- Visual Studio Code.
- others.
2. CodeBlocks - Download & Setup Preview 04:01
Download & Install CodeBlocks for C Programming Language Development
3. CodeBlocks - Start New Project Preview 03:37
Visual Studio Windows - Download Preview 07:01
Downloading Visual Studio IDE for Windows
Visual Studio Windows - Getting Started Preview 14:51
Getting stated working with Visual Studio in C Programming Language
Visual Studio Code Windows - Download & Install Preview 05:17
Visual Studio Code Windows Official - Getting Started Preview 11:00
Eclipse - Getting Started using C (Windows) Preview 16:45
CodeLite Windows - Download & Install Preview 19:38
Downloading and Installing CodeLite for Windows, including:
- MinGW (Minimalist GNU for Windows)
- LLVM (Low-Level Virtual Machine)
CodeLite Windows - Getting Started Preview 09:02
Getting started by creating and working on projects in C Programming Language
C Program Structure Preview 04:38
Welcome printf() function! Preview 07:19
Challenge #1 - Print Your First Name And Last Name! Preview 00:53
Challenge #1 Solution Preview 02:40
Challenge #2 - Print Your Full Name, Age, And Gender! Preview 02:32
Challenge #2 Solution Preview 03:22
Challenge #3 - Print An "Isosceles Triangle" Preview 01:25
Challenge #3 Solution Preview 04:51
Comments in C Language Preview 03:52
Format Specifications in C - Why And How They Should Be Used Preview 09:12
Format Specification Exercise - Download The PDF File Preview 00:32
Milestone #1 - Building Your First Calculator A Preview 01:48
Milestone #1 - Solution! [Make sure to Compare with your answers] Preview 00:15
Print Rectangle of Asterisks - Question Preview 01:28
Print Rectangle of Asterisks - Solution Preview 05:31
Print Asterisks Pattern - Question Preview 02:21
Print Asterisks Pattern - Solution Preview 05:05
Print X Shape - Question Preview 01:51
Print X Shape - Solution Preview 09:31
Print Your Birth Year - Question Preview 01:08
Print Your Birth Year - Solution Preview 03:06
Variables Introduction Preview 00:58
Variables - General Concept In Programming Preview 05:07
Variables - Complete Usage in C Language Preview 12:15
Variables Code Example #1 Preview 04:07
Challenge #1 - Find your Year of Birth! Preview 01:24
Challenge #1 - Solution Preview 06:07
Challenge #2 - Calculate Rectangle's Area Preview 01:20
Challenge #2 - Solution Preview 04:59
Casting Introduction Preview 01:54
Casting in C Programming Language Preview 13:46
Challenge #3 - Calculating your Average Grade Preview 01:53
Challenge #3 - Solution Preview 07:34
Milestone 2 - Weather Station A Preview 02:39
General SWAP in Programming Preview 03:11
Swap without 3rd Variable?! Is it really possible?
I want to let you know that I’ve recently added a new Interview Question that may actually interest you - "Swap without 3rd Variable"
A very common question that is being asked in a lot of tech interviews - So you better check it out in the “Interview Questions” section of this course.
Oh, and there is also a FULL SOLUTION that I've added just for you :)
Enjoy!
Go To: ---> [Interview Questions] ---> Swap without 3rd Variable
SWAP in C Language Preview 04:21
Variables - Summary! You're doing GREAT! Preview 02:59
Arithmetic Sequence - General Introduction and Explanation Preview 05:11
n-th Term of Arithmetic Sequence - Question Preview 04:13
n-th Term of Arithmetic Sequence - Solution Preview 07:26
Sum of Arithmetic Sequence - Question Preview 03:52
Sum of Arithmetic Sequence - Solution Preview 05:15
Employee Salary Calculator - Question Preview 01:44
Employee Salary Calculator - Solution Preview 04:23
Finding a Driving Time - Question Preview 02:10
Finding a Driving Time - Solution Preview 12:06
Convert Seconds into Hours, Minutes, and Seconds - Question Preview 02:45
Convert Seconds into Hours, Minutes, and Seconds - Solution Preview 06:12
Removing Decimal Part from an Integer - Question Preview 01:35
Removing Decimal Part from an Integer - Solution Preview 07:29
Sum of Triple Digits - Question Preview 02:19
Sum of Triple Digits - Solution Preview 07:02
Print Reversed Number - Question Preview 01:53
Print Reversed Number - Solution Preview 11:08
Distance Between 2 Points - Question Preview 01:41
Distance Between 2 Points - Solution Preview 08:15
Efficient Calculation Example - Question Preview 02:23
Efficient Calculation Example - Solution Preview 09:30
Introduction to First C Programming Quiz Preview 00:39
General Quiz
Your First Quiz in the Course!
This quiz covers the basics of programming.
Let me know if it was hard/easy - so things can be adjusted as we go.
Make sure to pass this quiz before proceeding to the next section and take a look at it once in a while since it's going to be constantly UPDATED with additional questions to help you improve your programming skills!
Good Luck!!
Variables
That's the second Quiz in your C Programming Course.
In this quiz, you will be tested with your knowledge of variables in general as well as also the usage of a variable in C Programming Language.
Control Flow - Introduction Preview 02:23
Congratulations / Failed - How should you decide? Preview 04:36
Congratulations In C - Complete Usage Of Conditions In C Programming Preview 06:52
Finding Maximum between 2 numbers - General Concept Preview 03:27
Finding Maximum - Implementation in C! Preview 05:23
Control Flow - Relational Operators Preview 05:29
Challenge #1 - Find if number is Odd or Even Preview 00:58
Challenge #1 - Solution Preview 06:25
Challenge #2 - print MIN and MAX Preview 00:59
Challenge #2 - Solution Preview 06:27
Challenge #3 - min & max among 3 numbers Preview 01:39
Challenge #3 - Solution Preview 10:15
Control Flow - Moving Forward! Preview 06:30
Moving Forward - in C Language Preview 04:26
Logical Operators - General Concept Preview 10:46
Logical Operators in C Programming Language Preview 07:11
Switch Case + FULL Example Preview 17:12
Conditions - Summary! Amazing Concept, True/False? :) Preview 04:01
Milestone - Intermediate Calculator (using Switch Case) Preview 03:00
EXTRA: Milestone - Solution Preview 08:47
Check if Numbers are the same - Question Preview 00:43
Check if Numbers are the same - Solution Preview 02:40
Check if a number is double-digit or triple-digit - Question Preview 01:44
Check if a number is double-digit or triple-digit - Solution Preview 11:37
Print the Absolute Number - Question Preview 01:26
Print the Absolute Number - Solution Preview 04:17
Quadrant of a Point - Question Preview 02:52
Quadrant of a Point - Solution Preview 06:53
Month Number to Month Name - Question Preview 01:44
Month Number to Month Name - Solution Preview 06:48
Unique Clock Representation - Question Preview 03:27
Unique Clock Representation - Solution Preview 11:05
Divisible 3 Numbers Example - Question Preview 03:23
Divisible 3 Numbers Example - Solution Preview 10:28
Is Leap Year - Question Preview 03:37
Is Leap Year - Solution Preview 05:31
Find the next day on Calendar! - Question Preview 04:44
Find the next day on Calendar! - Solution Preview 14:55
Introduction Preview 03:57
Why using loops Preview 10:55
While Loops - General Structure Preview 07:29
While Loops in C Programming Language! Preview 10:37
Challenge #1 - Printing any number of asterisks Preview 01:36
Challenge #1 - Solution Preview 06:18
Challenge #2 - Adding Pow to Calculator! Preview 01:14
Challenge #2 - Solution Preview 08:36
Milestone #1 - Coolest Average Grade Calculator Preview 03:56
EXTRA: Milestone #1 - Solution Preview 07:52
Do-While Loops - C Programming Language Preview 08:17
Challenge #3 - Enter a legal grade! Preview 01:19
Challenge #3 - Solution Preview 04:50
For Loops - General Preview 07:07
For Loops in C Programming Language Preview 10:01
Challenge #4 - Adding POW (using For Loops) Preview 01:54
Challenge #4 - Solution Preview 06:52
Challenge #5! Punishment! Preview 02:03
Challenge #5 - Punishment Solution Preview 03:21
Nested Loops - Print Right Angle Triangle Pattern - part #1 - Question Preview 01:38
Nested Loops - Print Right Angle Triangle Pattern - part #1 - Solution Preview 09:21
Nested Loops - Print Right Angle Triangle Pattern - part #2 - Question Preview 02:27
Nested Loops - Print Right Angle Triangle Pattern - part #2 - Solution Preview 05:42
Milestone #2 - 10 Cents Million Dollars! $$$ (Ka-ching!). Preview 02:01
Milestone #2 - Solution! Preview 07:40
Print from 1 to num and vice versa - Question Preview 01:40
Print from 1 to num and vice versa - Solution Preview 09:49
Print the sum of all numbers from 1 to num - Question Preview 01:49
Print the sum of all numbers from 1 to num - Solution Preview 07:39
Print the Multiplication Table of a number - Question Preview 02:17
Print the Multiplication Table of a number - Solution Preview 10:22
Print n even natural numbers - Question Preview 02:45
Print n even natural numbers - Solution Preview 09:03
Print Pyramid Numbers Pattern - Question Preview 03:25
Print Pyramid Numbers Pattern - Solution Preview 14:07
Print Sum of Values Divisible by 3 AND 5 - Trivial & Optimized Solutions - Quest Preview 03:32
Print Sum of Values Divisible by 3 AND 5 - Trivial & Optimized Solutions - Solut Preview 08:45
Print Sum of Values Divisible by 3 OR 5 - Trivial & Optimized Solutions - Quest Preview 02:33
Print Sum of Values Divisible by 3 OR 5 - Trivial & Optimized Solutions - Solut Preview 11:16
Very Ascending or Not - Question Preview 03:53
Very Ascending or Not - Solution Preview 26:14
Subtracting EvenDigitsSum and OddDigitsSum - Solution Preview 08:00
Sum of Odd Numbers Sequence - Solution Preview 05:28
Functions - General Concept Preview 07:23
Functions - Basic Structure Preview 08:38
Functions Usage – in C Programming Language Preview 11:27
Function Example #1 - Print Greetings! Preview 09:40
Function Example #2 - Print Max between 2 Integers Preview 07:29
Function Example #3 - Return Max between 3 Integers Preview 10:04
Function Example #4 - Calc & Return avg between 3 numbers Preview 05:54
Challenge #1 - Find Rectangle Area Preview 02:05
Challenge #1 - Solution Preview 07:52
Challenge #2 - Maximum DIGIT in a 2-digits number Preview 01:30
Challenge #2 - Solution Preview 06:05
Challenge #3 - Calculate FACTORIAL! Preview 02:40
Challenge #3 - Solution Preview 06:02
"isEven" Function C Exercise Preview 05:30
"isOdd" Function C Exercise Preview 06:19
Sequence of 9s Preview 16:47
Generation of Numbers 123...
Preview 12:32
toLower Function in C - Implementation Preview 08:37
toUpper Function in C - Implementation Preview 05:03
Chars To 3 Digits Integer Preview 14:43
Amount And Average Of Digits Less Than Given Digit - Question Preview 05:35
Amount And Average Of Digits Less Than Given Digit - Solution Preview 10:01
Basic Mathematical Question - Derivatives [Optional] Preview 08:39
Arrays - General Preview 08:24
Arrays – Declaration Preview 09:19
Arrays - Initialization Preview 05:48
Arrays – Element Accessing Preview 17:13
Challenge #1 – Finding Maximum Value in Array Preview 01:07
Challenge #1 - Solution Preview 04:46
Challenge #2 - Finding Maximum Index in Array Preview 01:28
Challenge #2 - Solution Preview 05:19
Using a #define Preview 06:29
Good Multiplication Neighbors Preview 15:10
2D Arrays Declaration Preview 09:15
2D Arrays - Initialization + 3 Tricks to Initialize Preview 17:11
2D Arrays - Element Accessing Preview 06:14
Exercise #1 - Initializing & Printing 2D Array Preview 08:41
Exercise #2 - Multiplication Table - Solution Preview 07:52
Input to Element in a 2D Array Preview 05:01
Physical Representation in Memory Preview 07:46
Introduction Preview 07:55
Pointers - Why using Pointers Preview 12:55
Pointers – Declaration & Usage Preview 15:00
Challenge #1 - Print Value and Address of Variables Preview 00:14
Challenge #1 - Solution Preview 04:38
Challenge #2 - Guess what would be printed Preview 09:04
Pass by Reference + FULL EXAMPLE Preview 12:18
Arrays - Copying an Array - Question Preview 01:40
Arrays - Copying an Array - Solution Preview 05:42
Array - Palindrome Exercise Preview 11:16
Arrays - Largest Neighbors Sum Preview 09:26
A Program to find if an Array is sorted - Question Preview 04:44
A Program to find if an Array is sorted - Solution Preview 15:09
Calculate Any Array Sum Preview 08:15
Reset All Elements of An Array to 0 Preview 05:11
Swap 2 Array Values One-by-One Preview 08:55
SUPER EXERCISE: Swap O(1) Complexity! Preview 09:06
Strings - General Preview 03:42
Introduction to Strings in C! Preview 05:13
String Initialization Preview 08:08
Challenge #1 - Initialize a String & Print it! Preview 00:53
Challenge #1 - Solution Preview 04:05
Strings - Input & Output Preview 13:41
Challenge #2 - Find Length of String Preview 01:29
Challenge #2 - Solution Preview 06:44
Let's INTRODUCE !
Preview 17:42
Challenge #3 - Number of WORDS in a SENTENCE Preview 01:34
Challenge #3 - Solution Preview 08:52
10. Milestone #1 - PALINDROME MILESTONE! Preview 03:11
This Milestone doesn't have a solution. Your practice, for some of the milestones, should be like in REAL LIFE. There will not always be solutions :)
Make sure to test it out, play with the exercise, write some code, and make sure that it works as expected!
If you get stuck, refer to previous lectures and videos and try to come up with a solution.
I wish you best of luck!
Challenge #1 - Implementing "strlen" Preview 03:31
Challenge #2 - Implementing "strcpy" Preview 13:20
Challenge #3 - Implementing "strcmp" Preview 12:06
Recursions - General Visualization + Introduction Preview 15:13
Example 1 - Sum of Arithmetical Progression Preview 02:09
Example 1 - Arithmetic Progression - Solution Preview 10:35
Example 2 - Factorial Preview 02:36
Example 2 - Factorial - Solution Preview 09:30
Challenge #1 - Fibonacci Preview 03:58
Challenge #1 - Solution Preview 04:52
Challenge #2 - Sum of Digits in a Number Preview 02:29
Challenge #2 - Solution Preview 08:08
Challenge #3 - Count of Digits Preview 01:41
Challenge #3 - Solution Preview 06:17
Recursive Function - Total Numbers Less Than Num - Question Preview 05:27
Recursive Function - Total Numbers Less Than Num - Solution Preview 12:28
Total Characters in a Sequence - Question Preview 02:50
Total Characters in a Sequence - Solution Preview 16:40
Total Even Numbers in a Sequence - Question Preview 03:20
Total Even Numbers in a Sequence - Solution Preview 03:20
Sum of All Even Numbers - Question Preview 02:08
Sum of All Even Numbers - Solution Preview 09:12
Printing1ToN and NTo1 - Question Preview 02:51
Printing1ToN and NTo1 - Solution Preview 12:48
Printing NTo1 And Vice Versa (No 1's Duplications) Preview 15:15
Lucas Sequence Preview 17:55
Finding Maximum Value in a Sequence of Elements (Using Recursion) Preview 14:22
Finding Minimum Value in a Sequence of Elements Preview 08:07
Pell Number in a Pell Sequence Preview 17:20
Advanced - Even Digits Sum Preview 23:42
Advanced - Even Digits Sum [OPTIMIZED & MINIMIZED] Preview 09:20
Advanced - Odd Digits Sum Preview 04:00
Advanced - Odd Even "Positions" and "Values" Finder - Question Preview 08:14
Advanced - Odd Even "Positions" and "Values" Finder - Solution Preview 27:18
Extra Recursion #1 - Print Sequence of num1s and then Sequence of num2s - Quest. Preview 03:02
Extra Recursion #1 - Print Sequence of num1s and then Sequence of num2s - Solut. Preview 13:40
Extra Recursion #2 - Print Sequence of char1s and then Sequencex2 of char2s - Q. Preview 02:41
Extra Recursion #2 - Print Sequence of char1s and then Sequencex2 of char2s - S. Preview 02:49
Extra Recursion #3 - Print Seq. of LowerCase Chars + Seq. of UpperCase Chars - Q Preview 03:03
Extra Recursion #3 - Print Seq. of LowerCase Chars + Seq. of UpperCase Chars - S Preview 02:49
Extra Recursion #4 - Find if Digits are Ascending, Descending, or not - Question Preview 04:52
Extra Recursion #4 - Find if Digits are Ascending, Descending, or not - Solution Preview 18:04
Extra Recursion #5 - Even_Odd Count of Digit Occurrences in num - Question Preview 04:08
Extra Recursion #5 - Even_Odd Count of Digit Occurrences in num - Solution Preview 17:23
Extra Recursion #5 - Minimized and Optimized Solution Preview 05:22
FYI
Final Version with lesser lines of code can be observed as the following:
int digitsEvenAppearances(int num, int digit)
{
if (num < 10)
return num != digit ? 1 : 0;
return num % 10 != digit ? digitsEvenAppearances(num / 10, digit) : !digitsEvenAppearances(num / 10, digit);
}