ExamVeda
Login
Home
11
Which operator is used to create the user-defined streams in c++?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
12
What is the use of swap() function in array class?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
13
Which operator is used to allocate the memory?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
14
Which is used to describe the function using placeholder types?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
15
What is the syntax of class template?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
16
What is the correct statement about lambda expression?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
17
In nested try-catch block, if the inner catch block gets executed, then . . . . . . . .
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
18
Which of the header file is used for array type manipulation?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
19
What will be the output of the following C++ code?
#include <iostream>
#include <string>
using namespace std;
int main()
{
	cout<<extent<remove_extent<string[10][20]>::type>::value;
	cout<<extent<remove_extent<string[10][20][30]>::type>::value;
	return 0;
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
20
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
class Test1 
{ 
};
class Test2 : public Test1 { };
void Funct();
int main()
{
    try
    {
        Funct();
    }
    catch (const Test1&)
    {
        cerr << "Caught a exception" << endl;
    }
    return 0;
}
void Funct()
{
    throw Test2();
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board