Conditional Statements in C/C++

Conditional statements, also known as selection or Decision making statements, used to make decisions based on the expression. If the expression evaluates to True or 1 the statements following the…

Read more »

int main(), void main() and main(), Which one is best?

In C/C++, main is the starting point to any program execution. Like all other functions, main is also a function with a special characteristic that the execution always starts from…

Read more »

Scope of Variables in C – Local,Global & Formal parameters

Scope of Variables in C define the visibility of a variable within the block or within function or a program. Unlike other programming languages C allows us to declare variables…

Read more »

Tokens in C and C++

The smallest element in C/C++ programs are called TOKENS. These are usually separated by white space like Blanks, Horizontal or vertical tabs, New lines. Tokens in C and C++ recognizes…

Read more »

Control Statements in C/C++

Control statements in both C and C++ specify the flow of program execution and which instructions of the program must be executed next. Thus allowing programmer to make decisions, perform…

Read more »

Operators in C/C++ Language

Operators in C/C++ language can be defined as symbols that helps us to perform specific mathematical and logical computations on operands. The basic functionality of C/C++ languages is incomplete without…

Read more »

Storage Classes in C and C++

Storage Classes in C/C++ are used to describe which section of memory should be allocated to a variable. A storage class also defines the scope, visibility and life-time of a…

Read more »

Data Types in C Language with example Programs

The C language has a rich set of data types to handle different kind of data entered by programmer. Basically a data type informs compiler about how much memory a…

Read more »

Keywords in C Language

Keywords in C are predefined reserved words it means their meaning and purpose already defined in C library used to perform internal operation. Every programming language has a set of…

Read more »

Structure of C Program with Example

Before start writing C program we should know the basic structure of C program and how the whole program works together so that we can easily debug if an error…

Read more »