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 accessing a structure using a pointer

Categories: Structures and Unions. No Comments on C program to demonstrate accessing a structure using a pointer

In this article we will learn to implement a C program to demonstrate accessing a structure using a pointer. A C program is provided below that illustrates how to access a structure using a pointer.   Program is as follows: /* * C program to demonstrate accessing a structure using a pointer * Author: P.S.SuryaTeja […]

Read the rest of this entry »

C program to demonstrate union

Categories: Structures and Unions. No Comments on C program to demonstrate union

In this article we will learn to implement a C program to demonstrate union. A C program is provided below to illustrate the concept of unions in C language.   Program is as follows: /* * C program to demonstrate union * Author: P.S.SuryaTeja */ #include <stdio.h> #include <conio.h> #include <math.h> #include <stdlib.h> union student […]

Read the rest of this entry »

C program to demonstrate structure

Categories: Structures and Unions. No Comments on C program to demonstrate structure

In this article we will learn to implement a C program to demonstrate structure. A C program is provided below for demonstrating a structure.   Program is as follows: /* * C program to demonstrate structure * Author: P.S.SuryaTeja */ #include <stdio.h> #include <conio.h> #include <math.h> #include <stdlib.h> struct student { int id; char name[20]; […]

Read the rest of this entry »

C program to compare two arrays using pointers

Categories: Pointers. No Comments on C program to compare two arrays using pointers

In this article we will learn to implement a C program to compare two arrays using pointers. A C program is provided below for reading two arrays and comparing them using pointers.   Program is as follows: /* * C program to compare two arrays using pointers * Author: P.S.SuryaTeja */ #include <stdio.h> #include <conio.h> […]

Read the rest of this entry »

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 »