How many real data types are there in complex numbers?
Which of the following approach is used by C++?
Which of the following is the correct way to declare a float pointer?
What are instances of a class with a member function operator() called?
For 16-bit compiler allowable range for integer constants is ______ ?
What can be passed as non-type template parameters during compile time?
What are sequence container arrays?
Why references are different from pointers?
What is the purpose of a functor in programming?
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
long factorial (long a)
{
if (a > 1)
return (a * factorial (a + 1));
else
return (1);
}
int main ()
{
long num = 3;
cout << num << "! = " << factorial ( num );
return 0;
}