Tag Archives: c++ objects

C++ program to Add two Complex number passing objects to function

Add two Complex number Write a C++ program to Add two Complex number passing objects to function. Here’s simple C++ program to Add two Complex number passing objects to function in C++ Programming Language. What are Functions ? Function is a block of statements that performs some operations. All C++ programs have at least one function… Read More »

C++ program to find Square of a Number using inline function

Square of a Number using inline function Write a C++ program to find Square of a Number using inline function. Here’s simple program to find square of float and integer using inline function in C++ Programming Language. What are Functions ? Function is a block of statements that performs some operations. All C++ programs have at least one… Read More »

C++ program to Count number of times a function is called

Count number of times a function is called Write a C++ program to Count number of times a function is called. Here’s simple C++ program to Count the number of times a function is called by objects in C++ Programming Language. What are Functions ? Function is a block of statements that performs some operations. All C++… Read More »

Write a C++ Program to Add Two Time Objects using call by reference

Add Two Time Objects using call by reference Write a C++ Program to Add Two Time Objects using call by reference. Here’s simple Program to Add Two Time Objects using call by reference in C++ Programming Language. What are Functions ? Function is a block of statements that performs some operations. All C++ programs have at least… Read More »

C++ program to find Reverse of a Number using class

Reverse of a Number using class Write a C++ program to find Reverse of a Number using class. Here’s simple C++ program to find reverse of number by defining functions outside class in C++ Programming Language. What are Functions ? Function is a block of statements that performs some operations. All C++ programs have at least one… Read More »

C++ Program to find Largest of three Numbers using class

Largest of three Numbers using class Write a C++ Program to find Largest of three Numbers using class. Here’s simple C++ program to find greatest of 3 numbers by defining functions inside class in C++ Programming Language. What are Functions ? Function is a block of statements that performs some operations. All C++ programs have at… Read More »

C++ Program to find Factorial of a number using class

Factorial of a number using class Write a C++ Program to find Factorial of a number using class. Here’s simple C++ Program to find Factorial of a number using class in C++ Programming Language. What are Functions ? Function is a block of statements that performs some operations. All C++ programs have at least one function… Read More »