If else Programs in C Programming

If else Programs in C programming The if-else statement in C is based on some particular conditions to perform the operations. If and only if the given condition is valid, the operations listed in if block is executed. If Statement Depending on the validity of that...

C Programming Tutorial

What is C Programming C is most popular and widely used computer programming language. It was developed by Dennis Ritchie in 1972 at the Bell Lab. It is used to develop system application software. There are various UNIX application developed in C language...

C Language Environment Setup

To compile C program, we must have GCC compiler installed on our machine. In this C tutorial, all the examples are compiled and tested using GCC compiler. Although we can use other C compilers also, GCC provides better performance. Installation To installGCC(GNU...

Execution flow of C program

There are various steps of the execution of the C program that is given below. The following step of the execution Write source codes Preprocess Compile Link edit Load Execute Editor or IDE: This is the first step while writing the source codes of the program, there...
C printf and Scanf

C printf and Scanf

Input-Output functions in C Programming In C Language, the printf() and scanf() are inbuilt library functions that used for input and output. It is defined in the header file“<stdio.h>”. printf() Function: In C programming language, printf() function is used to...

C Data type

Data Types in C with Examples Data types are used to define the type of data that a variable can store to perform a specific operation. ANSI C provides three types of data-types. Primary Data Types Derived Data Type User Defined Data Types Primitive data types: Void...

C Token

C Token and Keyword The C tokens are the basic buildings blocks in C language which are constructed together to write a C program. Each and every smallest individual unit in the C program is known as C Tokens. There are six types of tokens in the C language that are...

Variable in C

Variable is an identifier that holds data in memory. It is used to identify input data in a program. The value of the variable can change at the time of executions. Let’s consider the syntax of a variable. Syntax: Datatype variable_name; Syntax: Datatype ...

Operators in C

An operator is a special symbol that tells the compiler to perform specific mathematical or logical operations. It is the combination of constants and variables through expressions. Example: int c = a+b*5 123  int c = a+b*5  Where, =, +,* are operators,...

Pin It on Pinterest