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++ Basic Concepts with Examples

Suryateja Pericherla 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

Suryateja Pericherla 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

Suryateja Pericherla 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

Suryateja Pericherla 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 find the unique element in an array

Suryateja Pericherla Categories: Arrays. No Comments on C program to find the unique element in an array

In this article we will learn to implement a C program to find the unique element in an array. A C program is provided below to print the unique element in the given array.   Note: This program works only when the values are repeated two times and when there is only one unique value. […]

Read the rest of this entry »

C program to reverse a given string

Suryateja Pericherla 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

Suryateja Pericherla 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

Suryateja Pericherla 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 »

C program to copy one string to another

Suryateja Pericherla Categories: Strings. No Comments on C program to copy one string to another

In this article we will learn to implement a C program to copy one string to another. A C program is provided below to copy one string to another without using predefined function strcpy.   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]; int i=0; […]

Read the rest of this entry »
Blogarama - Blog Directory