while loop in C – Part 2

Read previous tutorial while loop in C – Part 1. In the last tutorial we have learnt about the while loops. Loops are used very frequently while writing big programs. And in the last tutorial we have learnt only the basics of the loop control structure. In this tutorial I will not write any program. Instead …

while loop in C – Part 2 Read More »

while loop in C – Part 1

Till now we have learnt about decision control instructions or the programs which will execute as the way they are programmed i.e. sequentially. However its not compulsory that we want to do some task inside a program for only one time. Suppose we want to make a program which will print your name 5 times. …

while loop in C – Part 1 Read More »

Operators Revisited – Hierarchy of Operators, NOT and Conditional Operator in C

Today we will re-visit the operators once again. In the tutorial of logical operators deliberately missed the NOT operator. Why? Ah… it’s a bit confusing and I don’t want to ruin the next important topics due to that operator. NOT Operator (!) The NOT operator (!) is used to reverse the results. This operator is …

Operators Revisited – Hierarchy of Operators, NOT and Conditional Operator in C Read More »

C else if Clause

Till now we have learnt about the if statement, if-else statement, if-else nested statements and logical operators. Logical operators are good alternatives of nested if-else statements. But there are still some cases when we have to use nested if-else clause. So to make those situations a bit easy, Dennis Ritchie introduced else if clause. What …

C else if Clause Read More »

Logical Operators in C

Nested if-else statement helps in creating multiple choices inside a program. But there are also some disadvantages of using them which are given below. Indentation is most important while using nested if-else statements. But if we add 2 layer nesting inside on if-else block. Then you will notice that your program is creeping towards right. …

Logical Operators in C Read More »

Nested if else in C

Here you will learn about nested if else in C In the previous tutorial we have learnt about if-else statements. Those statements provide the flexibility to check for two possible faces of answer. But it is also possible that there will be more than two options for the answer. To make things more precise, take …

Nested if else in C Read More »

Database Tuning – Effective Tips for Database Performance Tuning

Database tuning is nothing but a set of activities that is required for the purpose of optimization of the overall performances by the database. During the database performance tuning, the developers need to know few important things regarding the coding. Let us now discuss about those few important tips. Image Source Statistics Of Database: The …

Database Tuning – Effective Tips for Database Performance Tuning Read More »

C if-else Statement

Every coin has two faces and this is also true for our problems. Till now we have learnt about if statement in which we can execute a set of statements by giving some condition or expression.But most of time we need to execute one set of statements if the condition is true, and an entirely …

C if-else Statement Read More »