What will be the output of the following C++ code ?
#include <iostream>
using namespace std;
int fun(int = 0, int = 0);
int main()
{
cout << fun(5); return 0; } int fun(int x, int y){ return (x + y);
} Which is not a proper prototype ?
What is the return type of the function with prototype:"int func(char x, float v, double t);"
What is the return type of the function with prototype:"int func(char x, float v, double t);"
Which of the following is a valid function call (assuming the function exists) ?
Which of the following is a complete function ?
Which of the following function / types of function cannot have default parameters ?
Correct way to declare pure virtual function in a C++ class is
What is the scope of the variable declared in the user defined function ?
Which of the following in Object Oriented Programming is supported by Function overloading and default arguments features of C++.
Which of the following statement is correct ?