C Program – Examples

Here I have posted some useful example in C programming

Heap Sort – C Source Code and Algorithm

Posted on Apr 3rd, 2013 - By Luzan Baral - 0 Comments

Heap sort is a relatively simple algorithm built upon the heap data structure. A naive implementation requires additional space, but it is possible…

Continue Reading

C++ Program on Temperature Conversion ‘Celsius to Kelvin to Fahrenheit’

Posted on Mar 5th, 2013 - By Luzan Baral - 0 Comments

This program will let you convert temperature from one unit to other unit. The first program will convert Celsius to Kelvin. The second will convert…

Continue Reading

C++ Project on Library Management System

Posted on Feb 28th, 2013 - By Luzan Baral - 0 Comments

This project of “ LIBRARY MANAGEMENT SYSTEM” of gives us the complete information about the library. We can enter the record of new books and…

Continue Reading

Gaming Project Tutorial for Tic-Tac-Toe in C plus plus

Posted on Dec 14th, 2012 - By Luzan Baral - 3 Comments

This is a simple game project tutorial for Tic-Tac-Toe in C plus plus, Tic-tac-toe is a pencil-and-paper game for two players, X and O, who take…

Continue Reading

Find the sum of cos(x) series

Posted on Nov 15th, 2012 - By Luzan Baral - 1 Comment

/* Write a C program to find the sum of cos(x) series */ #include<stdio.h> #include<math.h> void main() { int n,x1,i,j; …

Continue Reading

Implementation of Stack to perform Push, Pop and Display operations on C language

Posted on Nov 8th, 2012 - By Luzan Baral - 6 Comments

 Definition of Stack A Stack is defined as a special type of data structure where items are inserted from one end called top of stack and items…

Continue Reading

Calculate factorial of integer - Flowchart

Calculate Factorial of the integer – C program – Code

Posted on Oct 21st, 2012 - By Luzan Baral - 0 Comments

Logic for finding Factorial Let n=5 be the number then, Factorial = 5 x 4 x 3 x 2 x 1 = 120 So, let’s do same logic in…

Continue Reading

Binary Search of an sorted array using C Program Code & Algorithm

Posted on Oct 19th, 2012 - By Luzan Baral - 1 Comment

Definition: Binary Search is used for searching in a sorted array in C programming. This search method tests the middle element of the array, if it…

Continue Reading

C Program – Code – Area and Volume of Square, Rectangle, Circle and Triangle

Posted on Oct 18th, 2012 - By Luzan Baral - 0 Comments

Description: This program in C finds out the Area and Volume of Square, Rectangle, Circle and…

Continue Reading

Leave a Reply