write a C program to sort the given list using insertion sort technique #include <stdio.h> #define MAX_SIZE 100 void insertionSor...
Showing posts with label data structure programs. Show all posts
Showing posts with label data structure programs. Show all posts
write a C program to find GCD and LCM of 2 integer numbers
write a C program to find GCD and LCM of 2 integer numbers #include <stdio.h> int main() { int num1, num2, gcd, lcm, temp, rem...
write a C program to display Pascal Triangle using binomial function
write a C program to display Pascal Triangle using binomial function #include <stdio.h> long int factorial(int n); long int binomi...
write a C program to find GCD using recursive function
write a C program to find GCD using recursive function #include <stdio.h> int gcd(int a, int b); int main() { int num1, num2; ...