54.
Overloaded functions are . . . . . . . .

56.
What are the advantages of passing arguments by reference?

57.
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
namespace space
{
    int x = 10;
}
namespace space
{
    int y = 15;
}
int main(int argc, char * argv[])
{
    space::x = space::y =5;
    cout << space::x << space::y;
}

60.
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
void func(int a, bool flag = true)
{
    if (flag == true ) 
    {
        cout << "Flag is true. a = " << a;
    }
    else 
    {
        cout << "Flag is false. a = " << a;
    }
}
int main()
{
    func(200, false);
    return 0;
}

Read More Section(Functions and Procedures in C plus plus)

Each Section contains maximum 100 MCQs question on Functions and Procedures in C plus plus. To get more questions visit other sections.