C is the most widely used programming languages since its inception in 1970s. From personal computers to supercomputers, C was quickly adopted due to its effectiveness. It can handle low-level activities and can also be compiled on a variety of platforms. C is often called the “mother of all programming languages”.

As the first step in programming, C is the perfect language to learn. To be a great programmer and a software developer, it is important to understand the structure and syntax of the C language.

This course will cover significant aspects of C, which will equip you to start programming independently. In this course, the focus would greatly be on building logic using C.

Batches

No batch is available

What you'll learn?

Introduction to C

In this chapter you will be introduced to computer programming and how C evolved as a language. This section will help you take your first steps into the wonderful world of C. This section is also an opportunity to understand the future of C and its applications in the real world.

  • Computer Programming
  • programming Language
  • Evolution of C
  • Features of C
  • Structure of a C
  • IDE
  • Errors
  • Algorithm
  • Flowcharts

Data types & Operators

We use computers to store information and these could be numbers, letters and characters. Before we can store this information we need to identify what kind of information it is and also manage it using a language like C. To retrieve any nugget of this information we need the address where it has been stored in the computer’s memory. You will learn about memory addresses and more in this chapter on data types and operators.

  • Character set
  • Keywords
  • Rules for naming Identifiers
  • Data types
  • Number System
  • Constant
  • Variable
  • Representation of Characters
  • Types Qualifers
  • Const Qualifier
  • Operators
  • Expression
  • Precedence & Associativity
  • Type Conversions

Input - Output

Computers need you to input data so that they can process it and give you an output. But there are rules and specific formats in which data needs to be inputted and that’s exactly what you will take away from this chapter on Input/output.

  • Console I/O function

Control Statements

Every piece of C code needs to be executed in the right way and this chapter will introduce you to how code is repetitively executed. For example, if we need to execute the same line of code 10 times we can use control statements to avoid redundancy and improve efficiency.

  • Sequential
  • Selection
  • Iteration
  • Jump Statements
  • Function call
  • Difference between if..else and switch case
  • Use of break in switch case
  • Diiference between while and do..while
  • nested loop

Arrays and Strings

This section will teach you how to manipulate similar data using arrays. Elements of an array can be added, subtracted or compared.

  • Introduction
  • Single Dimensional Array
  • Multidimensional Arrays
  • Strings
  • Strings Function

Function

Write once, use multiple times. That is one of the tenets of efficient code. And C functions help you do that. Functions also help to make a program modular and thus more readable and organized.

  • Introduction
  • Parts of Function
  • main()
  • Use of Function
  • Recursion
  • Scope
  • Extent
  • Difference between Declaration and Definition
  • Library functions

Pointers

We all need help finding someone’s address in our everyday lives. So sometimes we ask a stranger or an acquaintance to point us in the right direction. Pointers help you do this in the C language. Pointers and arrays in C are closely related and pointers are useful for manipulating arrays.

  • Introduction
  • Pointers and Operators
  • Pointer to pointer
  • Null Pointer
  • Void Pointer
  • Pointers to Constant
  • Array and Pointers
  • Pointer and strings
  • Dynamic memory Allocation
  • Pointers and Functions
  • More on pointers

Structures

When you want to group elements of a piece of code to improve efficiency and readability, you use structures. Learn what they are in this chapter.
Structures are closely related to pointers and arrays.

  • Introduction
  • Array of structure
  • Structure and Functions
  • Structures and Pointers
  • Structures within Structures
  • Union
  • typedef
     

Pre- Processor

Preprocessing of code is independent of the code compilation process.The C preprocessor comprises a set of statements written at the beginning of the program code that essentially instruct the C compiler to perform preprocessing.

  • Macro Expansion
  • File Inclusion
  • Conditional Compilation

File Handling in C

We all use files and folders to make our lives easier and more efficient.Even in a programming language file handling is a necessary concept to grasp. To perform operations such as open, close, read, and write on files in C we use certain specific functions. Learn more about these functions and file handling in this chapter.

  • File
  • File Handling in C programming Language