41. Which of the following is the limitation of bitset over vector bool?
42. Which of the following is corect way of constructing bitset using integer number?
43. What should be the name of the constructor?
44. Which block should be placed after try block?
45. What does the checked iterator allow you to find?
46. How many objects are used for input and output to a string?
47. The C++ code which causes abnormal termination/behaviour of a program should be written under . . . . . . . . block.
48. Pick the correct statement.
49. How many Engine Adaptors are there in C++?
50. What will be the output of the following C++ code?
#include <iostream>
#include <exception>
using namespace std;
int main ()
{
try
{
double* i= new double[1000];
cout << "Memory allocated";
}
catch (exception& e)
{
cout << "Exception arised: " << e.what() << endl;
}
return 0;
}
#include <iostream>
#include <exception>
using namespace std;
int main ()
{
try
{
double* i= new double[1000];
cout << "Memory allocated";
}
catch (exception& e)
{
cout << "Exception arised: " << e.what() << endl;
}
return 0;
}Read More Section(C plus plus miscellaneous)
Each Section contains maximum 100 MCQs question on C plus plus miscellaneous. To get more questions visit other sections.
- C plus plus miscellaneous - Section 1
- C plus plus miscellaneous - Section 2
- C plus plus miscellaneous - Section 3
- C plus plus miscellaneous - Section 4
- C plus plus miscellaneous - Section 5
- C plus plus miscellaneous - Section 6
- C plus plus miscellaneous - Section 7
- C plus plus miscellaneous - Section 9
- C plus plus miscellaneous - Section 10
- C plus plus miscellaneous - Section 11
