www.brightbrains.in

About Us/Home              Tests On Offer              Sample Questions              FAQ              Contact US

CPP
Level:-Basic
Q(1) Implementation dependent aspects about an implementation can be found in ______.
A   implementation
B   limits
C   limit
D  numeric
Q(2) Pick out the correct statement.
A   virtual functions does not give the ability to write a templated function.
B   virtual functions does not give the ability to rewrite a templated function.
C   virtual functions does give the ability to write a templated function.
D   None of the above
Level:-Intermediate
Q(1) How many kinds of entities are directly parameterized in CPP?
A   1
B   2
C   3
D   4
Q(2) How to handle error in the destructor?
A   By throwing
B   By terminate
C   Both A and B
D   None of the above
Level:-Expert
Q(1) The allocaters are implemented in ______.
A   Template library
B   Standard library
C   C++ code library
D   None of the above
Q(2)
What is the output of the following program?
#include 
using namespace std;
int main()
{
int a = 5;
float b;
cout << sizeof(++a + b);
cout << a;
return 0;
}
A   2 6
B   4 6
C   2 5
D   4 5
BACK      REGISTER NOW
About Us/Home   Terms & Conditions   Cookies Policy   Privacy Policy   FAQ   Contact Us  
   © Copyright 2017 BrightBrains