Statements in C language and it types
Statements in C is a command provided to the computer that advises the computer system to take a certain action, such as display to the display, or gather input. A computer system program is made up of a series of statements. Types of Statements in C are 1 Labeled Statements…
Pointer in C programming with examples
A pointer in c is used to store the address of any variable. it directly points to the memory location.By using a pointer, we can work faster on memory than a variable. int a=5; (i) it reserves space of integer to hold memory. (ii) The Memory location is a. (iii)…
Continue statement in C with Examples
Continue statements in C is required When we want to take the control to the beginning of the loop, bypassing the statement inside the loop, a statement not yet executed, the keyword continues to allow us to do this. The continue statement in C programming works rather like the break…
Function in c with its types and examples
In C Programming Language function is a very useful and important concept. It is a small block of logics that is written to performs some specific tasks. Along with performing some specific task functions also helps to make our code length small which is easy to understand what operation is…
Explanation of for loop in c with Examples
The for loop in c is an entry -controlled loop which provides concise loop control structure. It gives you the power to control how much time a code you want to execute. How many times for loop will be executed which decides on the three parameters of the “for” loop….
Explanation of do while loop in C with examples
Do while loop in C is very similar to while loop of C. But only the difference is that in C while loop, first condition is checked then statement inside the while loop is executed by in the do-while loop of C, first statement is executed means operations first performed…