Blog Posts - C Program



C Program to Reverse a String without using STRREV function

C Program to Reverse a String without using STRREV function and using FOR loop#include<stdio.h>main(){char a[50];int i;clrscr();printf("Enter any string: ");scanf("%s", &a);for(i=strlen(a)-1;i>=0;i--)printf("%c",a[i]);getch();}Output:&nb...
by Know A Job on Jun 12, 2016

Factorial of a Number in C Program using For Loop

C Program to find Factorial of any given Number#include<stdio.h>#include<conio.h>Void main() { int n,i,f=1; clrscr(); printf("Enter any number: "); scanf("%d", &n); for(i=1;i<=n;i++) { f=f*i; } printf("Factorial of %d is %d",n,f);...
by Know A Job on Dec 6, 2015

Insertion Sort in C

What is Insertion Sort? As said Before, Insertion sort is better technique when compared to Bubble sort. But it cant handle data of large size. So we need to go for selection sort and heap sort techniques. Insertion Sort is … Continue reading &...
by letus program on Jun 3, 2015

31 C Programs Examples with Output

C Programs ExamplesFor all computer students and Teachers or others want to get some C programming example with output here Bangla Bhumi provide some C programming examples with output.You can use this program at TurboC,C++,Codeblocks,broadland c++ e...
by Bangla Bhumi - Ami Bangali on Sep 25, 2014

Write a c program to search for the key element in the list using binary search.

C Programs ExamplesFor all computer students and Teachers or others want to get some C programming example with output here Bangla Bhumi provide some C programming examples with output.You can use this program at TurboC,C++,Codeblocks,broadland c++ e...
by Bangla Bhumi - Ami Bangali on Sep 25, 2014

Write a c program to search for the key element in the list using liner search.

C Programs ExamplesFor all computer students and Teachers or others want to get some C programming example with output here Bangla Bhumi provide some C programming examples with output.You can use this program at TurboC,C++,Codeblocks,broadland c++ e...
by Bangla Bhumi - Ami Bangali on Sep 25, 2014

Write a c function to find GCD(greatest common divisor)of two numbers and using the same write a program to find LCM of two numbers.

C Programs ExamplesFor all computer students and Teachers or others want to get some C programming example with output here Bangla Bhumi provide some C programming examples with output.You can use this program at TurboC,C++,Codeblocks,broadland c++ e...
by Bangla Bhumi - Ami Bangali on Sep 25, 2014

Write a c function to find minimum of two distinct numbers and using the write a program to find minimum of three distinct numbers.

C Programs ExamplesFor all computer students and Teachers or others want to get some C programming example with output here Bangla Bhumi provide some C programming examples with output.You can use this program at TurboC,C++,Codeblocks,broadland c++ e...
by Bangla Bhumi - Ami Bangali on Sep 25, 2014

Write a c function to find maximum of two unequal numbers and using the same write a program to maximum of four numbers.

C Programs ExamplesFor all computer students and Teachers or others want to get some C programming example with output here Bangla Bhumi provide some C programming examples with output.You can use this program at TurboC,C++,Codeblocks,broadland c++ e...
by Bangla Bhumi - Ami Bangali on Sep 25, 2014

Write a c program to swap the contents of two variables without using additional variable.

C Programs ExamplesFor all computer students and Teachers or others want to get some C programming example with output here Bangla Bhumi provide some C programming examples with output.You can use this program at TurboC,C++,Codeblocks,broadland c++ e...
by Bangla Bhumi - Ami Bangali on Sep 25, 2014

Write a program to generate the Fibonacci series. For example: 0 1 1 2 3 5………..

C Programs ExamplesFor all computer students and Teachers or others want to get some C programming example with output here Bangla Bhumi provide some C programming examples with output.You can use this program at TurboC,C++,Codeblocks,broadland c++ e...
by Bangla Bhumi - Ami Bangali on Sep 25, 2014

Write a program in c which calculates Armstrong number.an arm strong number is such number which equals the sum of the cube of its digit.

C Programs ExamplesFor all computer students and Teachers or others want to get some C programming example with output here Bangla Bhumi provide some C programming examples with output.You can use this program at TurboC,C++,Codeblocks,broadland c++ e...
by Bangla Bhumi - Ami Bangali on Sep 25, 2014

Write a program in which converts decimal number into binary and than find out its one’s complement.

C Programs ExamplesFor all computer students and Teachers or others want to get some C programming example with output here Bangla Bhumi provide some C programming examples with output.You can use this program at TurboC,C++,Codeblocks,broadland c++ e...
by Bangla Bhumi - Ami Bangali on Sep 25, 2014

Write a program in c which finds the number of vowels in a string.

C Programs ExamplesFor all computer students and Teachers or others want to get some C programming example with output here Bangla Bhumi provide some C programming examples with output.You can use this program at TurboC,C++,Codeblocks,broadland c++ e...
by Bangla Bhumi - Ami Bangali on Sep 25, 2014

Write a program in c to calculate the length of a string without using library function strlen()that finds the length of a string.

C Programs ExamplesFor all computer students and Teachers or others want to get some C programming example with output here Bangla Bhumi provide some C programming examples with output.You can use this program at TurboC,C++,Codeblocks,broadland c++ e...
by Bangla Bhumi - Ami Bangali on Sep 25, 2014

Write a program in c which calculate sum difference and product using functions of two numbers.

C Programs ExamplesFor all computer students and Teachers or others want to get some C programming example with output here Bangla Bhumi provide some C programming examples with output.You can use this program at TurboC,C++,Codeblocks,broadland c++ e...
by Bangla Bhumi - Ami Bangali on Sep 25, 2014

Write a program in c that finds the smallest number in an array.

C Programs ExamplesFor all computer students and Teachers or others want to get some C programming example with output here Bangla Bhumi provide some C programming examples with output.You can use this program at TurboC,C++,Codeblocks,broadland c++ e...
by Bangla Bhumi - Ami Bangali on Sep 25, 2014

Write a program in c that finds the average of the array elements.

C Programs ExamplesFor all computer students and Teachers or others want to get some C programming example with output here Bangla Bhumi provide some C programming examples with output.You can use this program at TurboC,C++,Codeblocks,broadland c++ e...
by Bangla Bhumi - Ami Bangali on Sep 25, 2014

Write a program in c which calculates the bonus accrued to an employee,100% bonus is given to thosehaving salary 10,000 or more and 90% to those having salary below 10,000.

C Programs ExamplesFor all computer students and Teachers or others want to get some C programming example with output here Bangla Bhumi provide some C programming examples with output.You can use this program at TurboC,C++,Codeblocks,broadland c++ e...
by Bangla Bhumi - Ami Bangali on Sep 25, 2014

Write a program in c which outputs the name of the day when the number of the day is given as input.

C Programs ExamplesFor all computer students and Teachers or others want to get some C programming example with output here Bangla Bhumi provide some C programming examples with output.You can use this program at TurboC,C++,Codeblocks,broadland c++ e...
by Bangla Bhumi - Ami Bangali on Sep 25, 2014


Trending Topics

Close