C++ program to find how many times a function is called by the objects

 

Sample Input
Enter an integer:2
Enter a float no.:3.34
Sample Output
Square of integer:4
Square of float:11.1556
Function is called 2 times by the objects

You may also like...