"C Language Mother of All Programming "

C is a general-purpose computer programming language. It was created in the 1970s by Dennis Ritchie, and remains very widely used and influential. By design, C’s features cleanly reflect the capabilities of the targeted CPUs.

c, letter, alphabet-1019707.jpg

What is C Language?

C is a powerful systems programming language.

Keywords & Identifier

Keywords are predefined, reserved words and identifiers represent the name in the C program.

C Data types

Data types are used to define a variable to use in a program

C Operators

An operator is a symbol that tells the compiler to perform specific functions.

Printf()

The printf() is a library function to send formatted output to the screen

Scanf()

Scanf() is one of the commonly used function to take input from the user.

Conditional Statement in C Programming Language

Conditional Statements in C programming are used to make decisions based on the conditions. Conditional statements execute sequentially when there is no condition around the statements. If you put some condition for a block of statements, the execution flow may change based on the result evaluated by the condition. This process is called decision making in 'C.'

If Else

When we need to execute a block of statements when a given condition is true or false

Nested if else

Nested IF functions, meaning one IF function inside of another, allows you to test multiple criteria.

Else if Statement

Else if statement used in a program when if statement having multiple decisions.

Switch Statement

A switch statement allows a variable to be tested for equality against a list of values.

Nested Switch Statement

It is possible to have a switch as a part of the statement sequence of an outer switch.

Loop in C Programming

Looping Statements in C execute the sequence of statements many times until the stated condition becomes false. A loop in C consists of two parts, a body of a loop and a control statement. The control statement is a combination of some conditions that direct the body of the loop to execute until the specified condition becomes false. The purpose of the C loop is to repeat the same code a number of times.

For Loop

A for loop is a repetition control structure which allows us to write a loop that is executed a specific number of times.

While Loop

A "While" Loop is used to repeat a specific block of code an unknown number of times, until a condition is met.

Do While

The do-while loop is mainly used in the case where we need to execute the loop at least once.

Break statement

The break statement terminates the execution of the nearest enclosing do , for , or while statement in which it appears.

Continue statement

The continue statement passes control to the next iteration of the nearest enclosing do , for , or while statement in which it appears.

Goto Statement

A goto statement in C programming provides an unconditional jump from the 'goto' to a labeled statement in the same function

Array in C

An array is defined as the collection of similar type of data items stored at contiguous memory locations.

Function in C

A function is a group of statements that together perform a task.

String in C

In C programming, a string is a sequence of characters terminated with a null character.

Structure in C

Structure is a user-defined datatype in C language

Pointer in C

The pointer in C language is a variable which stores the address of another variable.

C pre-processor

The C pre-processor is a micro processor that is used by compiler to transform your code before compilation

Scroll to Top