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…
Day: January 21, 2021
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…
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 −…
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…
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…
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…
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…
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…
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…
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…