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.

Arrays and Strings in C++ Programming

Categories: C++ Programming. No Comments on Arrays and Strings in C++ Programming

This article provides a comprehensive overview of arrays and strings in C++ programming language along with example programs.   Arrays Introduction An array is a group of elements forming a complete unit. Characteristics of an array are as follows: An array is a collection of elements. All elements in an array are of the same […]

Read the rest of this entry »

C++ Basic Concepts with Examples

Categories: C++ Programming. 2 Comments on C++ Basic Concepts with Examples

This article provides a comprehensive overview of C++ basic concepts along with easy to understand examples.   Tokens Smallest indivisible parts of a program are called lexemes and groups of similar lexemes are called tokens. C++ program contains several items and those are identified as tokens by a compiler. C++ tokens are as follows: Keywords […]

Read the rest of this entry »

Input and Output in C++ Programming

Categories: C++ Programming. No Comments on Input and Output in C++ Programming

This article provides a comprehensive overview of input and output in C++ programming language along with example programs.   Any program in a given programming language needs significant amount of input from the user and also needs to display to the output several times. To support such I/O operations, C++ provides a library which contains […]

Read the rest of this entry »

Introduction to Object Oriented Paradigm

Categories: Programming. No Comments on Introduction to Object Oriented Paradigm

This article provides a comprehensive introduction to object oriented paradigm along with real-world examples.   This world is made up off several objects and objects communicate with each other. Similar objects can be grouped together. For example, take a college. It can have two working sections like teaching and non-teaching. These two groups can be […]

Read the rest of this entry »

C program to read and print a matrix using pointers

Categories: Pointers. 1 Comment on C program to read and print a matrix using pointers

In this article we will learn to implement a C program to read and print a matrix using pointers. A C program is provided below to read and print a matrix using pointers and dynamic memory allocation.   Program is as follows: #include<stdio.h> #include<stdlib.h> int main() { int m, n; printf("Enter no. of rows and […]

Read the rest of this entry »

C program to reverse a given string

Categories: Strings. 1 Comment on C program to reverse a given string

In this article we will learn to implement a C program to reverse a given string. A C program is provided below to reverse a given string without using predefined function.   Program is as follows: #include<stdio.h> #include<string.h> int main() { char str[20]; printf("Enter a string: "); scanf("%s", str); int length = strlen(str); for(int i=0, […]

Read the rest of this entry »

C program to compare two strings without using library function

Categories: Strings. No Comments on C program to compare two strings without using library function

In this article we will learn to implement a C program to compare two strings without using library function. A C program is provided below to compare two strings without using predefined function. Program is as follows: #include<stdio.h> #include<string.h> int main() { char str[20]; printf("Enter a string: "); scanf("%s", str); char newstr[20]; printf("Enter another string: […]

Read the rest of this entry »

C program to concatenate two strings without using library functions

Categories: Strings. No Comments on C program to concatenate two strings without using library functions

In this article we will learn to implement a C program to concatenate two strings without using library functions. A C program is provided below to join or concatenate two strings without using predefined function like strcat. Program is as follows: #include<stdio.h> #include<string.h> int main() { char str[20]; printf("Enter a string: "); scanf("%s", str); char […]

Read the rest of this entry »