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 demonstrate call by value and call by reference

Categories: Functions. No Comments on C program to demonstrate call by value and call by reference

In this article we will learn to implement a C program to demonstrate call by value and call by reference. A C program is provided below to illustrate how to use call by value and call by reference parameter passing mechanisms in case of functions.   Program is as follows: /* * C program to […]

Read the rest of this entry »

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.   The program is: /* * C program to find the largest and smallest numbers […]

Read the rest of this entry »

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 »