Skip to content
Xiith
  • Home
  • C
  • C++
  • C#
  • Java
  • Python
  • Kotlin
  • R
  • Go
  • JavaScript
  • About us
Search this website
Menu Close
  • Home
  • C
  • C++
  • C#
  • Java
  • Python
  • Kotlin
  • R
  • Go
  • JavaScript
  • About us

C++ Program to add two numbers using parameterized constructor

In this program, You will learn how to add two numbers using parameterized constructor in C++. class Add { int c; public: Add(int a, int b) { //statement } };…

Continue ReadingC++ Program to add two numbers using parameterized constructor

C++ Program to using parameterized constructor

In this program, You will learn how to implement parameterized constructor in C++. Test(int, int) { //statement } Example: How to implement parameterized constructor in C++. #include<iostream> using namespace std;…

Continue ReadingC++ Program to using parameterized constructor

C++ Program to add two numbers using the default constructor

In this program, You will learn how to add two numbers using the default constructor in C++. 30 = 20 + 10 40 = 20 + 20 Example: How to…

Continue ReadingC++ Program to add two numbers using the default constructor

C++ Program to using the default constructor

In this program, You will learn how to implement the default constructor in C++. Default constructor in C++ Test() { //statement } Example: How to implement default constructor in C++.…

Continue ReadingC++ Program to using the default constructor

C++ Program to calculate simple interest using function overloading

In this program, You will learn how to calculate simple interest using function overloading in C++. class Test { void calculate(float amt, float rate) { //statement } void calculate(float time)…

Continue ReadingC++ Program to calculate simple interest using function overloading

C++ Program using function overloading

In this program, You will learn how to implement function overloading in C++. void display(int){ //statement } void display(int, int){ //statement } Example: How to implement function overloading in C++…

Continue ReadingC++ Program using function overloading

C++ Program using this pointer

In this program, You will learn how to implement this pointer in C++. this->x = x this->y = y Example: How to implement this pointer in C++. #include<iostream> using namespace…

Continue ReadingC++ Program using this pointer

C++ Program to concatenate two strings using friend function

In this program, You will learn how to concatenate two strings using friend function in C++. strcat(t.str1, t.str2); Example: How to concatenate two strings using friend function in C++. #include<iostream>…

Continue ReadingC++ Program to concatenate two strings using friend function

C++ Program to find the largest of three numbers using friend function

In this program, You will learn how to find the largest of three numbers using friend function in C++. friend void find(Test t); Example: How to find the largest of…

Continue ReadingC++ Program to find the largest of three numbers using friend function

C++ Program to find the largest of two numbers using friend function

In this program, You will learn how to find the largest of two numbers using friend function in C++. friend void find(Test t); Example: How to find the largest of…

Continue ReadingC++ Program to find the largest of two numbers using friend function
  • Go to the previous page
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • …
  • 20
  • Go to the next page

Xiith is created for educational, experimental, and schooling purpose. Examples on Xiith are made easier to make a better or basic understanding. Tutorials, testimonials, and examples are continuously checked to avoid delusion, but we cannot take complete responsibility of all programs on Xiith. When you are operating this site, you have to agree to read and accept our terms of use, cookie and privacy policy. Copyright © 2021 by Xiith. All Rights Reserved. About us.