Beginner’s guide to Linked Lists

August 22, 2009

Linked list is a type of data structure which has two parts – Data part, Next part. The combination of both data part and next part is called a node. The data part stores the data and the next part stores the reference (or the address) to the next node…

An interesting C++ program using loops

June 16, 2009

In this program, we will code a C++ program which will display a number the number of times the number. Like I type in a number 5 and I will see the number…

Selection Sort

January 31, 2009

Selection sort is one of the basic programs in C++ to sort an array. This comes in handy in sorting elements in a small program because of its ease of implementation and lack of risk factor. Selection sort isn’t much seen in the normal scenario but it is used for academic purposes and is a part of one of the important topics in the computer science syllabus of CBSE…

Insertion using functions in C++

December 25, 2008

The program inserts a number given by the user into an integer array where the location is also given by the user. Insertion is carried out by a separate function…

Swapping two numbers using functions

December 25, 2008

This program takes two numbers from the user, swaps them and display them back to the user…

Pages: 1 2 3 Next