ExamVeda
Login
Home
61
Which header file is used for Iterators?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
62
What will be the output of the following C++ code?
#include <iostream>
#include <exception>
using namespace std;
class myexc: public exception
{
    virtual const char* what() const throw()
    {
        return "My exception";
    }
} myex;
int main () 
{
    try
    {
        throw myex;
    }
    catch (exception& e)
    {
        cout << e.what() << endl;
    }
    return 0;
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
63
What is the use of make_heap in the heap operation?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
64
What will be the output of the following C++ code?
#include <stdio.h>
#include <math.h>
int main ()
{
    printf ("The value of -3.1416 is %lf\n", fabs (-3.1416));
    return 0;
}
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
65
What are the predefined exceptions in c++?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
66
Pick out the correct library in the following choices.
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
67
In how many categories, containers are divided?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
68
Which header file is used to declare the standard exception?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
69
Pick out the wrong header file about strings.
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
70
What is the type of the first item in the heap?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board