Category Archives: Functions Programs

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 »

C++ Program to Add Two Time Objects using call by address

Add Two Time Objects using call by address Write a C++ Program to Add Two Time Objects using call by address. Here’s simple Program to Add Two Time Objects using call by address 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 »

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 »