Bubble Sort C Program
Source code of simple bubble sort implementation using array ascending order in c programming language
Size of union without using sizeof operator
Write a c program to find the size of union without using sizeof operator
Size of structure without using sizeof operator
Write a c program to find the size of structure without using sizeof operator
size of double without using sizeof operator
Write a c program to find the size of double without using sizeof operator
Size of int without using sizeof operator
Write a c program to find the size of int without using sizeof operator
C program to Reverse a number using Recursion
Write a c program to reverse a number using recursion
Write a C program to find power of a number using recursion
Write a C program to find power of a number using recursion
Write a C Program to Find GCD of the number using recursion
Write a C Program to Find GCD /HCF of the number using recursion
Factorial program in c
C Program to find and print factorial of a number, first one uses a for loop and second uses a function to find factorial . Factorial is represented using ! , so five factorial will be written as 5!, n factorial as n!.
Factorial program in c using recursion
Write a C program to find factorial of a number using recursion
C program to reverse an array
This program reverses the array elements. For example if a is an array of integers with three elements such that
a[0] = 1
a[1] = 2
a[2] = 3
then on reversing the array will be
a[0] = 3
a[1] = 2
a[0] = 1
C program to find largest and smallest number in an array
C program to find largest and smallest number in an array
C program to delete an element from an array
This program delete an element from an array. Deleting an element does not affect the size of array. It is also checked whether deletion is possible or not, For example if array is containing five elements and you want to delete element at position six which is not possible.
C program to insert an element in an array
a[10] having three elements in it initially and a[0] = 1, a[1] = 2 and a[2] = 3 and you want to insert a number 45 at location 1 i.e. a[0] = 45, so we have to move elements one step below so after insertion a[1] = 1 which was a[0] initially, and a[2] = 2 and a[3] = 3.
C Program to delete duplicate elements in an Array
Write a C program to remove duplicate elements in an array
« go back — keep looking »