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…
Category: B.Tech./1Sem/Computer System and Programming in C
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…
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…
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…
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…
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…
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…
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.…
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…