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.
Home » Programming » Page 12

Classes and Objects in C++ Programming

Suryateja Pericherla Categories: C++ Programming. No Comments on Classes and Objects in C++ Programming

This article provides a comprehensive overview of classes and objects in C++ programming languages along with example programs.   Introduction Object oriented programming paradigm makes it easy to solve real-world problems.       Syntax for declaring a class is as follows: class ClassName { access-specifier: type variable1; type variable2; …. type function1(params-list); type function2(params-list); […]

Read the rest of this entry »

Functions in C++ Programming

Suryateja Pericherla Categories: C++ Programming. No Comments on Functions in C++ Programming

This article provides a comprehensive overview of functions in C++ programming language along with easy to understand example programs.   Introduction to functions While writing large programs, main() function will become quite complex to maintain and soon you will lose track of what is happening.   This is where functions will aid programmers.     […]

Read the rest of this entry »

Arrays and Strings in C++ Programming

Suryateja Pericherla 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     Elements in an array are stored in order and sequentially inside the memory.   Need for arrays Think that we have to store five values in a program. We can declare five […]

Read the rest of this entry »

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.   Learn more about C++ programming language.   Tokens   C++ program contains several elements and those are identified as tokens by a compiler.         Keywords cannot be used as identifiers in programs.       […]

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 […]

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 »
Facebook
Twitter
Pinterest
Youtube
Instagram
Blogarama - Blog Directory