C provides the important feature of data manipulations with the address of the variables, the execution time is very much reduced such concept is possible with the special data type called Pointers. Pointer:- A pointer is a variable which stores the address of another variable. Declaration:-Pointer declaration is similar toContinue Reading

C programming language provides a set of pre-defined functions called string handling functions to work with string values. The string handling functions are defined in a header file called string.h. Whenever we want to use any string handling function we must include the header file called string.h. The following table provides most commonly usedContinue Reading

What are Arrays in C? The array is defined as a collection of similar data elements. If you have some sets of integers, and some sets of floats, you can group them under one name as an array. Method of declaring an array If you want an integer-type array, let’sContinue Reading

The scope and lifetime of variables in functions:-Variables in C different behavior from those in most other language.  For example in a basic program a variable returns its value through out the program.  It is not always the case in ‘C’.  It always depends on the storage classes the variableContinue Reading

FUNCTIONS Function:-  It is a self contained block of statements and it can be used at several multiple times in a program but defined only once. Library function or Predefined functions:-  The functions which are in built with the C-compiler is called as library functions. Ex:- printf, scanf, getch(), clrscr();Continue Reading

Programming C –Type Qualifiers: The keywords which are used to modify the properties of a variable are called type qualifiers. TYPES OF C TYPE QUALIFIERS: There are two types of qualifiers available in C language. They are, const volatile 1. CONST KEYWORD: Constants are also like normal variables. But, onlyContinue Reading

Loop:- The process of repeated executing a block of statements is called loop. C supports three types of looping statements.  They are… While Loop do-while loop and for-loop             Any loop has three things. They are… Initialize the index Test condition Update the index 1. while loop:- It is a conditionalContinue Reading

There are 4 types of Unconditional/Case Control Statements in C language. They are, switch break continue goto 1. SWITCH CASE STATEMENT IN C: Switch case statements are used to execute only specific case statements based on the switch expression. Below is the syntax for switch case statement. switch (expression){     caseContinue Reading

Condition control statements:- C supports five types of condition control statements. Simple if statement If else statement Nested if statement Else if ladder Switch statement i) Simple if statement:- It is a decision making statements and is used to control the flow of execution. Syntax if(expression) { statements; } IfContinue Reading

Variables In programming, a variable is a container (storage area) to hold data. To indicate the storage area, each variable should be given a unique name (identifier). Variable names are just the symbolic representation of a memory location. For example: Here, abc is a variable of int type. Here, the variable is assigned anContinue Reading