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 find the largest and smallest number in an array

Categories: Arrays. No Comments on C program to find the largest and smallest number in an array

In this article we will learn to implement a C program to find the largest and smallest number in an array. A C program is given below which reads a list of integers and prints the largest and smallest number.   Subscribe to our monthly newsletter. Get notified about latest articles, offers and contests. Email […]

Read the rest of this entry »

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.   Subscribe to our monthly newsletter. Get notified about latest articles, offers and contests. Email address: Leave this field empty if […]

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.   Subscribe to our monthly newsletter. Get notified about latest articles, offers […]

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.   Subscribe to our monthly newsletter. Get notified about latest articles, offers and contests. Email address: Leave this field empty if […]

Read the rest of this entry »

C program to search an element using linear search

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

In this article we will learn to implement a C program to search an element using linear search. A C program is provided below to read a list of numbers and search for a given element (key) using linear search.   Subscribe to our monthly newsletter. Get notified about latest articles, offers and contests. Email […]

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.   Subscribe to our monthly newsletter. Get notified about latest articles, offers […]

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.   Subscribe to our monthly newsletter. Get notified about latest articles, offers and contests. Email address: Leave this field empty if […]

Read the rest of this entry »

C program to find 2’s complement of a binary number

Categories: Arrays. No Comments on C program to find 2’s complement of a binary number

In this article we will learn to implement a C program to find 2’s complement of a binary number. A C program is provided below which reads a binary number and prints its 2’s complement.   Subscribe to our monthly newsletter. Get notified about latest articles, offers and contests. Email address: Leave this field empty […]

Read the rest of this entry »