C program to Sort Names in Alphabetical Order

In this tutorial, i am going to show you how to sort names in alphabetical order in c program using algorithm. Algorithm to Sort Names in Alphabetical Order Follow the below given algorithm to write a program to sort names in alphabetical orders; as follows: C program to Sort Names in Alphabetical Order #include <stdio.h> … Read more

C Program To Merge Two Arrays

In this tutorial, i am going to show you how to merge two arrays with the help of standard method and function in c programs. All C Programs To Merge Two Arrays C Program To Merge Two Arrays using Standard Method #include <stdio.h> print(int *a,int n) { int i; for(i=0; i<n; i++) { printf(“%d “,a[i]); … Read more

C Program to Add Two Matrices

C program to add two matrices; Through this tutorial, i am going to show you how to add two matrices in c programs. C Program to Add Two Matrices #include<stdio.h> int main() { int i, j, rows, columns, a[10][10], b[10][10]; int Addition[10][10]; printf(“\n Please Enter Number of rows and columns : “); scanf(“%d %d”, &i, … Read more

C Program to Print X Star Pattern

In this tutorial, i am going to show you how to print X star patterns with the help of for loop and while loop in c programs. All C Programs to Print X Star Pattern C Program to Print X Star Pattern using For Loop #include <stdio.h> int main() { int i,j,n,k; char ch; printf(“Enter … Read more

C Program to Print Triangle Numbers Pattern

In this tutorial, i am going to show you how to print triangle numbers pattern in c programs with the help of for loop and while loop. All C Programs to Print Triangle Numbers Pattern C Program to Print Triangle Numbers Pattern using For Loop #include<stdio.h> #include<stdlib.h> int main(){ int i,j,k,l,n; printf(“enter the range=”); scanf(“%d”,&n); … Read more