Latest Blog

Program to check number is positive or negative
March 14, 2013 | No Comments

#include <stdio.h> #include <conio.h> void main()

Read More

Program to check if two numbers are equal
March 14, 2013 | No Comments

#include <stdio.h> #include <conio.h> void main() { int a,b;

Read More

Switch statement explanation with simple program
March 14, 2013 | No Comments

Switch statement is a substitute for long if statements that compare a variable to several “integral” values (“integral” values are simply values that can be expressed as an integer, such as the value of a char). The value of the variable given into switch is compared to the value following each of the cases, and […]

Read More

Nested If statement with simple program
March 13, 2013 | No Comments

C language also helps you to use an if statement within other if statement. This is refer as Nested If statement. It is a conditional statement which is used when we want to check more than one conditions at a time in a same program. The conditions are executed from top to bottom checking each […]

Read More

Else If statement with simple program
March 13, 2013 | No Comments

Else If statement provides us the way to use many If statements in a single program. This sequence of if statements is the most general way of writing a multi-way decision. The expressions are evaluated in order; if an expression is true, the statement associated with it is executed, and this terminates the whole chain. As always, the code for each statement is either a […]

Read More

If-Else Statement with simple program
March 4, 2013 | No Comments

In the last article, we have studied about the if statement, this article leads to the extension of the if statement that also can be used while solving any problem. So far we have read that if statement is used to check only one condition. If condition is true then following statement will be executed, […]

Read More

If Statement with simple program
March 4, 2013 | No Comments

This is a conditional statement used in C to check condition or to control the flow of execution of statements. This is also called as ‘decision making statement or control statement.’ The execution of a whole program is done in one direction only. If statement is used to validate only one condition i.e only one […]

Read More

Decision Making in C or C++ with examples
March 2, 2013 | No Comments

Decision making is one of the most important concepts of computer programming. As the name suggests “Decision Making” , we means to state that we will be making certain decisions to carry out different operations. These decisions making strategies are same as we come across in our daily life. But here we will be using […]

Read More

C++ Storage Class explanation with simple examples
February 16, 2013 | No Comments

Storage class defined for a variable defines the accessibility and longevity of the variable. The accessibility of the variable relates to the portion of the program that has access to the variable. The longevity of the variable refers to the length of time or time span the variable exists within the program.In other words, A […]

Read More

Classes and Objects explanation with simple examples
February 15, 2013 | No Comments

The main motto of evolution of  C++ programming was  to add object orientation to the C programming language that was missing in traditional C programming language. Classes are the central feature of C++ that supports object-oriented programming and are often called user-defined types.

Read More