Startertutorials Blog
Tutorials and articles related to programming, computer science, technology and others.
Subscribe to Startertutorials.com's YouTube channel for different tutorial and lecture videos.

C program to add and multiply two compatible matrices

Categories: Arrays. No Comments on C program to add and multiply two compatible matrices

In this article we will learn to implement a C program to add and multiply two compatible matrices. A C program is provided below to read two matrices, add them and then multiply them.   Program is as follows: //C program to add and multiply two compatible matrices #include<stdio.h> #include<conio.h> void main() { int a[3][3], […]

Read the rest of this entry »

C program to sort elements of an array using selection sort

Categories: Arrays. No Comments on C program to sort elements of an array using selection sort

In this article we will learn to implement a C program to sort elements of an array using selection sort. A C program is provided below which reads a list of numbers and prints the sorted list of numbers using selection sort algorithm.   Program is as follows: //C program to sort an array of […]

Read the rest of this entry »

C program to search an element using binary search

Categories: Arrays. No Comments on C program to search an element using binary search

In this article we will learn to implement a C program to search an element using binary search. A C program is provided below which illustrates using binary search for searching a given element.   Program is as follows: //C program to search for an element using binary search #include<stdio.h> #include<conio.h> void main() { int […]

Read the rest of this entry »

C program to interchange the largest and smallest elements in the array

Categories: Arrays. No Comments on C program to interchange the largest and smallest elements in the array

In this article we will learn to implement a C program to interchange the largest and smallest elements in the array. A C program is provided below that reads a list of numbers and swap the largest and smallest element in the array.   Program is as follows: //C program to interchange the largest and […]

Read the rest of this entry »

C program to check whether the given number is armstrong or not

Categories: Others. No Comments on C program to check whether the given number is armstrong or not

In this article we will learn to implement a C program to check whether the given number is Armstrong or not. A C program is provided below that reads a number and prints whether it is a Armstrong number or not.   //C program to check whether the given number is an Armstrong number or […]

Read the rest of this entry »

C program to convert decimal to binary number

Categories: Arrays. No Comments on C program to convert decimal to binary number

In this article we will learn to implement a C program to convert decimal to binary number. A C program is provided below to read a decimal number and print its equivalent binary number.   Program is as follows: //C program to display the binary equivalent of a given decimal number #include<stdio.h> #include<conio.h> void main() […]

Read the rest of this entry »

C program to print the multiplication table of a given number

Categories: Others. No Comments on C program to print the multiplication table of a given number

In this article we will learn to implement a C program to print the multiplication table of a given number. A C program is provided below to read a number and print its multiplication table.   Program is as follows: //C program to print the multiplication table of a number n #include<stdio.h> #include<conio.h> void main() […]

Read the rest of this entry »

C program to generate the first n terms of Fibonacci sequence

Categories: Others. No Comments on C program to generate the first n terms of Fibonacci sequence

In this article we will learn to implement a C program to generate the first n terms of Fibonacci sequence. A C program is provided below which reads a number and prints the Fibonacci sequence up to n.   Program is as follows: //C program to generate the first n terms of a Fibonacci sequence […]

Read the rest of this entry »

C program to find the sum of individual digits of a positive integer

Categories: Others. No Comments on C program to find the sum of individual digits of a positive integer

In this article we will learn to implement a C program to find the sum of individual digits of a positive integer. A C program is provided below which reads a number and gives the sum of digits and reverse of that number.   Program is as follows: //C program to find the sum of […]

Read the rest of this entry »