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 implement predefined string functions

Categories: Strings. No Comments on C program to implement predefined string functions

In this article we will learn to write a C program to implement predefined string functions. A C program is provided below to demonstrate implementing predefined string functions like strlen, strcmp, etc.   /* * Implementation of predefined string functions: * strlen, strcmp, strcat, strrev, ispalindrome * Author: P.S.SuryaTeja */ #include <stdio.h> #include <conio.h> #include […]

Read the rest of this entry »

C program to compare, concatenate and append strings using user defined functions

Categories: Strings. No Comments on C program to compare, concatenate and append strings using user defined functions

In this article we will learn to implement a C program to compare, concatenate and append strings. A C program is provided below to read two strings and perform comparison, concatenation and append operations.   Program is as follows: /* * C program to implement the following string functions using user defined functions: * i. […]

Read the rest of this entry »

C program to perform the different operations on strings

Categories: Strings. No Comments on C program to perform the different operations on strings

In this article we will learn to implement a C program to perform the different operations on strings using functions. A C program is provided below to perform various operations on strings.   /* * C program to perform the following operations on strings using functions: * i. To insert a sub string in to […]

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.   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 »