Passing values to functions

Passing values to functions in C programming can be done in 2 ways: Call By Value Call By Reference Function call by Value in C The call by value method of passing…

Share Button

Nested Loops in C

How to use Nested Loops in C? C programming allows to use one loop inside another loop. The following section shows a few examples to illustrate the concept. Syntax The…

Share Button

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
error: Content is protected !!