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

Use of For loop

How to use For Loop? A for loop is a repetition control structure that allows you to efficiently write a loop that needs to execute a specific number of times. Syntax The…

Share Button

Use of do-while Loop

What is the use of Do While Loop? Unlike for and while loops, which test the loop condition at the top of the loop, the do…while loop in C programming checks its condition at the bottom…

Share Button

Using multi-dimensional arrays

How To Use Multi Dimensional Arrays? C programming language allows multidimensional arrays. Here is the general form of a multidimensional array declaration − type name[size1][size2]…[sizeN]; For example, the following declaration…

Share Button

Misc. Operators

Misc. Operators Besides the operators discussed above, there are a few other important operators including sizeof and ? : supported by the C Language. Operator Description Example sizeof() Returns the size of a variable.…

Share Button

Assignment Operators

Assignment Operators The following table lists the assignment operators supported by the C language − Operator Description Example = Simple assignment operator. Assigns values from right side operands to left…

Share Button
error: Content is protected !!