Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
C Language for Beginners
Rating: 4.6 out of 5(118 ratings)
557 students

C Language for Beginners

Learn how to write programs using C Language in precise and concise way
Last updated 8/2023
English

What you'll learn

  • Will be able to write programs using C Language and will be thorough with all fundamentals of programming

Course content

1 section25 lectures9h 12m total length
  • Getting started with programming using C Language24:48

    This lecture covers the following :

    • Different types of languages

    • How to download and install Code Blocks IDE

    • How to write a simple C Program and run it

    • How to use printf() to print and scanf() to read input from user

  • Test Your Knowledge
  • Language Elements23:57

    This lecture covers the following:

    • Constants

    • Data types

    • What is an Operator

    • Arithmetic Operators

    • Assignment Operator

    • Combined Operators

    • Increment and decrement Operator 

    • Difference between pre-fix and post-fix notations

  • Test Your Knowledge about Language Elements
  • Examples using Language Elements15:04

    This lecture uses the following programs to demonstrate language elements:

    • Conversion from Inches to Centimeters and Feet

    • Calculation of Area and Circumference of a Circle

    • Net amount to be paid

    • Display total and average marks

  • Control Statements28:24

    This lecture covers the following:

    • How to use if statement

    • Relational and logical operators

    • How to use multiple if statements

    • How to use nested if statements

    • How to use switch statement

  • Test Your Knowledge about Control Statements
  • Examples using Control Statements12:56

    This lecture uses the following programs to demonstrate control structures:

    • Binning products based on price

    • Smallest of 4 numbers

    • Calculator

    • Area calculation for different objects

  • Looping Structures28:39

    This lecture covers the following:

    • What is a loop

    • The while loop

    • The do while loop

    • The for loop

    • How to use break and continue statements

    • How to write nested loops

  • Test Your Knowledge about Looping Structures
  • Examples using Loops13:01

    This lecture uses the following programs to demonstrate looping structures:

    • How to check whether a number is a Strong number

    • How to display common factors of two numbers

    • How to check whether a number is a Palindrome

    • How to print Prime numbers between 1 and 100

  • Arrays31:23

    This lecture covers the following:

    • What is an Array

    • How to declare and use an Array

    • Searching an Array

    • Sorting an Array

    • Double dimension Array

  • Test Your Knowledge about Arrays
  • Examples using Arrays15:10

    This lecture uses the following programs to demonstrate Arrays:

    • Identity Matrix

    • Check whether two double dimension arrays are equal

    • Insert values that are in order into array

    • Sorting double dimension array

  • Binary Search10:49

    This lecture covers the following:

    • What is Binary Search

    • Binary Search Algorithm

    • Time Complexity of Linear Search and Binary Search

    • Program to implement Binary Search

  • Test Your Knowledge about Binary Search
  • Chars and Strings39:30

    This lecture covers the following:

    • How to use char datatype 

    • Functions related to char datatype

    • How to declare and use a string

    • String related functions 

  • Test Your Knowledge about Chars and Strings
  • Examples using Chars and Strings13:58

    This lecture uses the following programs to demonstrate chars and strings:

    • Encrypt a string by adding 1 to ASCII code of each char

    • Replace source char with target char in a string

    • Print string without leading and trailing spaces

    • Sort an array of strings

  • User-defined Functions40:21

    This lecture covers the following:

    • How to create user-defined function

    • How to pass parameters to function

    • How to return value from a function

    • How to use Arrays with Functions

  • Test Your Knowledge about User-defined Functions
  • User-defined Functions - Part 213:34

    This lecture uses the following programs to demonstrate user-defined functions:

    • Function to return largest factor of a number other than itself

    • Function to return position of a number in an array

    • Function to return true if array is in sorted order, otherwise false

    • Function to return true if a string has only alphabets, otherwise false

  • Variable Properties - Scope, Visibility and Extent9:44

    This lecture covers the following:

    • What is scope of a variable

    • What is visibility of a variable and how it is different from scope

    • What is extent of a variable

  • Test Your Knowledge about Variable Properties
  • Using Recursion15:44

    This lecture demonstrates how to use recursion:

    • Function to print the given number in reverse order using recursion

    • Function to return factorial of the given number using recursion

    • Function to return single digit sum of the number without using recursion

    • Function to return single digit sum of the number using recursion

  • Test Your Knowledge about Recursion
  • Storage Classes15:59

    This lecture covers the following:

    • Auto storage class

    • Static storage class

    • Register storage class

    • Extern storage class

  • Test Your Knowledge about Storage Classes
  • Pointers38:57

    This lecture covers the following:

    • What is a pointer

    • How to declare and use pointer with indirection (*) operator

    • Pass by value

    • How to use pointers to pass parameters by reference

    • Similarities between pointer and array

    • What is pointer arithmetic and how to use it

  • Test Your Knowledge about Pointers
  • Structures21:20

    This lecture covers the following:

    • What is a structure

    • How to declare and use a structure

    • Creating an array of struct type 

    • Operations allowed with structures

    • Nested structures

    • How to use a pointer to structure 

  • Test Your Knowledge about Structures
  • Text File Handling25:45


    This lecture covers the following:

    • How to open a file using fopen()

    • How to write and read characters using fputc() and fgetc() 

    • Reading line by line from text file using fgets()

  • Test Your Knowledge about Text File Handling
  • Binary File Handling18:39

    This lecture covers the following:

    • What is a Binary file

    • How to use fread() and fwrite() to read and write binary files

    • Random access using fseek()

  • Test Your Knowledge about Binary File Handling
  • Miscellaneous Topics - Part 123:42

    This lecture covers the following:

    • How to use enumeration 

    • Using typedef statement

    • What is prototype declaration and its importance

    • What is pre-processor and its role 

    • How to use #define to define constants and macros 

  • Test Your Knowledge
  • Miscellaneous Topics - Part 223:00

    This lecture covers the following:

    • How to use command line arguments using argc and argv

    • The union data structure

    • Recursion

    • Dynamic memory allocation 

  • Test Your Knowledge
  • Linked List31:41

    This lecture covers the following:

    • What is  linked list?

    • Advantages of linked list

    • How to create linked list?

    • Deleting blank lines from a file using linked list - application of linked list

  • Test Your Knowledge about Linked List
  • Application to Manage Contacts using Binary File16:43

    This lecture covers the following:

    • How to add, modify, list and search contacts stored in a binary file

    • How to create a menu, handle options in the menu

    • How to implement random access

  • Final Examination - Beginner Level
  • Final Examination - Intermediate Level
  • Library Functions

Requirements

  • Basic working knowledge of Computer

Description

This course is meant to teach how to write programs to beginners of programming. It teaches how to get started with programming using C Language. It covers the following topics of C language:

  • Language Elements
  • Control statements - if and switch
  • Loops
  • Arrays 
  • Chars and Strings
  • User-defined Functions
  • Pointers
  • Arrays vs. Pointers 
  • Structures
  • Text and Binary file handling 
  • Pre-processor Directives
  • Command-line Arguments 
  • Dynamic Memory Allocation

This course lays a strong foundation for future languages such as C++, Java, C# etc. 

Who this course is for:

  • Anyone interested in learning how to write programs using C Language