Home

Which of the following is not a standard exception built in C++.

A. std::bad_creat

B. std::bad_alloc

C. std::bad_cast

D. std::bad_typeid

You can do it
  1. Which of the following language is predecessor to C Programming Language?
  2. What is the difference between overloaded functions and overridden functions?
  3. The output of the following code is: void main() {float a;int x = 10, y = 3; a = x / y;printf("%f",…
  4. Which of the following is not recommended in a header file?
  5. It is necessary to initialize the array at the time of declaration.
  6. /* The C language./* is a procedural language .*/*/The above statement is valid.
  7. Which of the following keyword supports dynamic method resolution?
  8. the value *(&i) is same as printing the value of address of i.
  9. The output of the following code is: main() {int a[10], i; for (i = 1; I <= 0; i++) {scanf("%d",…
  10. emp name' is a valid variable name.
  11. Which of the STL containers store the elements contiguously (in adjecent memory locations)?
  12. The default initial value of automatic storage class is 0.
  13. The output of the following code is: void main() { static int a = 1, b, c;if (a>=2) b=2; c=3;printf("%d\t%d",…
  14. What will be output if you will compile and execute the following c code?#include int main(){ char c=125;…
  15. What will be output if you will compile and execute the following c code?#include int main(){ float…
  16. A recursive function calls itself again and again.
  17. Bitwise operators can operate upon?
  18. Left shift operator rotates the bits on the left and places them to the right.
  19. The -------------------------- loop executes at least once.
  20. The output of the following code is: #define sqr(x= x*x) main() {int a = 10, b = 5; printf("%d, %d",…
  21. Each pass through a loop is called a/an
  22. Only one break can be used in one loop.
  23. A pointer is an indication of the variable to be accessed next.
  24. What's wrong? (x = 4 && y = 5) ? (a = 5) ; (b = 6);
  25. What does STL stand for?
  26. unsigned' is a valid variable name.
  27. The expression (i + j)++ is illegal.
  28. The output of the following code is: main() { int sub[50]; for(i=0; i<=48;i++) { sub[i]=i; printf("%d",…
  29. Which of the following is the most preferred way of throwing and handling exceptions?
  30. The output of the following code is: void main() {int a = 0; while (a<=50) for(;;) if(++a % 50==0)…