Applying if and switch statements

If statements in C: An if statement can be followed by an optional else statement, which executes when the Boolean expression is false. Syntax The syntax of an if…else statement in C programming language is −…

Share Button

Double floating point

Double floating point data Type: The following table provide the details of standard floating-point types with storage sizes and value ranges and their precision − Type Storage size Value range…

Share Button

File Handling in C

File Handling in C In programming, we may require some specific input data to be generated several numbers of times. Sometimes, it is not enough to only display the data…

Share Button

Register Storage Class

Register Storage Class The variables defined as the register is allocated the memory into the CPU registers depending upon the size of the memory remaining in the CPU. We can…

Share Button

Conditional compilation in C

Conditional compilation in C programming language Conditional compilation as the name implies that the code is compiled if certain condition(s) hold true. Normally we use if keyword for checking some…

Share Button

Standard C pre-processors

What are the Standard C pre-processors? The C Preprocessor is not a part of the compiler, but is a separate step in the compilation process. In simple terms, a C Preprocessor is…

Share Button

Standard I/O in C

What is Standard I/O in C? When we say Input, it means to feed some data into a program. An input can be given in the form of a file or…

Share Button

Extern Storage Class

External/Extern Storage Class in C The extern storage class is used to give a reference of a global variable that is visible to ALL the program files. When you use ‘extern’, the…

Share Button

Static Storage Class

The Static Storage Class The static storage class instructs the compiler to keep a local variable in existence during the life-time of the program instead of creating and destroying it each time…

Share Button

Use of Break and Continue Statements

Break Statement in C n any loop break statement is used to jump out of loop skipping the code below it without caring about the test condition. It interrupts the…

Share Button
error: Content is protected !!