C Programming Language

C is a Unix operating system by-product, and C language is a popular and widely used Programming language. From the beginning, C Programming language is used for operating systems, micro-controllers, applications, and graphics. In recent days, it was a trendy language in Automation.

The influence of C in current or modern Programming languages is very prominent. We can clearly say C Programming has a massive influence on C++, C#, Java, and Perl, and C++ is an extension to C.

C Basics

The C Programming language is structural and procedural. Although this high-level language was designed for system applications, C language has proved that it is powerful and flexible enough to use in business applications.

  1. Comments
  2. Escape Sequence

C Programming Operators

Operators in C Programming are nothing but the symbols used to perform some operations on the given values or operands. Some operators used for numeric calculations, and some to check the relations, etc. The following are the list of operators available in the C Programming Language.

  1. Operators Introduction
  2. Arithmetic Operators
  3. Relational Operators
  4. Logical Operators
  5. Assignment Operators
  6. Increment & Decrement Operators
  7. Conditional Operator
  8. Bitwise Operators
  9. Sizeof Operator

C tutorial on Decision Making Statements

Generally, the compiler will execute the C programs line by line in the order that we write in our program. But there are some situations where we have to run the statements based on the condition. For that, we can use the following control statements. Apart from this, we might get into a situation where we have to execute some statements repeatedly. For this, you can use the C Programming loops.

  1. If Statement
  2. If Else Statement
  3. Else If Statement
  4. Nested If Statement
  5. Break Statement
  6. Continue Statement
  7. Goto Statement
  8. Switch Statement

C Programming Loops tutorial

A loop is an indication for a compiler to execute a block of statements repeatedly. In C Programming, we have three loops for, while and do while loops. Every loop has an expression or condition, and based on the result, the compiler will either execute the code block or exit from the loop.

  1. While Loop
  2. Do While Loop
  3. For Loop

Arrays

Arrays are a collection of values with the same data type. C supports one-dimensional arrays, two and multi-dimensional arrays.

  1. String
  2. One Dimensional Array
  3. Two Dimensional Arrays
  4. Multi-Dimensional Arrays

C programming tutorial on Structures

  1. Structure Introduction
  2. Nested Structures
  3. Structures and Functions
  4. Array of Structures
  5. Union
  6. Difference between Structure and Union

Pointers

  1. Pointer Introduction
  2. Passing Pointers as Function Arguments

Files

The following are the list of C programming functions that support the Files operations. You can use them to perform the required file operation.

  1. Gets
  2. fputc – Write Character to File
  3. fputs – Write String Data to File
  4. fgetc – Read Character from File
  5. fgets – Read String Data from File

C programming tutorial on Functions

Using Functions in C Programming,  we can split or divide a program into small groups. Because each function has its own definition, declaration, logic, and return statements. Apart from this, C Programming Functions help you to hide the code or algorithm details used within it. This section of the C programming tutorial convers the functions introduction, types, and recursive functions.

  1. Function
  2. Passing Parameters to the Function
  3. Pass Array to the function
  4. Pass Pointers to Functions
  5. Types of User Defined Function
  6. Recursion

ctype Library Functions

C tutorial on string functions

The following are the list of String functions available in C programming string library. You have to use or include the string.h header file to use these string functions inside your C program.

C Math Functions Tutorial

The following C tutorial section shows the list of Available Mathematical functions. Please use the math.h header file to use these math functions inside a C program.

C Programming Examples

  1. C Programs

Comments are closed.