ExamVeda
Login
Home
51
To where does the program control transfers when the exception is arisen?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
52
How many ways of passing a parameter are there in c++?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
53
Which is used to keep the call by reference value as intact?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
54
Overloaded functions are . . . . . . . .
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
55
What we can't place followed by the non-default arguments?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
56
What are the advantages of passing arguments by reference?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
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;
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
58
Which symbol is used to declare the preprocessor directives?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
59
If the user did not supply the value, what value will it take?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
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;
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board