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 reverse the given string using a pointer

Categories: Pointers. No Comments on C program to reverse the given string using a pointer

In this article we will learn to implement a C program to reverse the given string using a pointer. A C program is provided below for reversing a given string using a pointer.   Program is as follows: /* * C program to reverse a given string using pointers * Author: P.S.SuryaTeja */ #include <stdio.h> […]

Read the rest of this entry »

C program to find gcd of given two numbers using recursion

Categories: Functions. No Comments on C program to find gcd of given two numbers using recursion

In this article we will learn to implement a C program to find gcd of given two numbers using recursion. A C program is provided below to read two numbers and find their GCD.   Program is as follows: /* * C program to find GCD of given two integers using recursive and non-recursive functions […]

Read the rest of this entry »

C program to generate Fibonacci series using recursion

Categories: Functions. No Comments on C program to generate Fibonacci series using recursion

In this article we will learn to implement a C program to generate Fibonacci series using recursion. A C program is provided below to generate a Fibonacci series using both recursive and non-recursive functions.   Program is as follows: /* * C program to generate fibonacci sequence using recursive and non-recursive functions * Author: P.S.SuryaTeja […]

Read the rest of this entry »

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 »