What will be the output of the following C++ code ?
#include <iostream>
using namespace std;
int fun(int x = 0, int y = 0, int z){
return (x + y + z); }
int main()
{ cout << fun(10); return 0; } 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 ?