Tutorial Gateway

  • C Language
  • Java
  • R
  • SQL
  • MySQL
  • Python
  • BI Tools
    • Informatica
    • Tableau
    • Power BI
    • SSIS
    • SSRS
    • SSAS
    • MDX
    • QlikView
  • Js

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, it 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

  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

  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

Loops

A loop is an indication for a compiler to execute a block of statements repeatedly. In C, 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 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. This section of the C programming tutorial converts 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

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

  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

ctype Library Functions

  • isalpha
  • isalnum
  • isdigit
  • islower
  • ispunct
  • isspace
  • isupper
  • isxdigit
  • tolower
  • toupper

C tutorial on string functions

The following are the list of String functions available in C programming string library

  • Introduction
  • memchr
  • strcat
  • strncat
  • strcmp
  • strncmp
  • strcpy
  • strncpy
  • strchr
  • strrchr
  • strcoll
  • strlen
  • strlwr
  • strpbrk
  • strrev
  • strstr
  • strtok
  • strupr

C tutorial on Math Functions

The following C tutorial section shows the list of Available Mathematical functions.

  • math lib
  • abs
  • acos
  • asin
  • atan
  • atan2
  • cbrt
  • ceil
  • cos
  • cosh
  • exp
  • fabs
  • floor
  • hypot
  • log
  • log10
  • pow
  • round
  • sin
  • sinh
  • sqrt
  • tan
  • tanh
  • trunc

C Programming Examples

  1. C Programs

Trending Posts

Python Program to find First Occurrence of a Character in a String

JavaScript SQRT

SQL VARP Function

SQL PERCENTILE_DISC

SQL Attach Database

Transfer SQL Server Tables with Data in SSIS

C Program to Find First and Last Digit Of a Number

MySQL VAR_SAMP Function

Java String concat Method

SQL @@SERVERNAME

  • C Programs
  • Java Programs
  • SQL FAQ’s
  • Python Programs
  • SSIS
  • Tableau
  • JavaScript

Copyright © 2019 | Tutorial Gateway· All Rights Reserved by Suresh

Home | About Us | Contact Us | Privacy Policy