Home

Which of the STL containers store the elements contiguously (in adjecent memory locations)?

A. std::vector

B. std::list

C. std::map

D. std::set

You can do it
  1. continue statement is used
  2. = and = = have the same operation.
  3. The output of the following code is:void main() {char a = 'B';switch (a) {case 'A' : printf("a"); case…
  4. The size of signed integer is ------ bytes.
  5. No commas or blanks are allowed within an integer or a real constant.
  6. && and & operators have the same meaning.
  7. When is std::bad_alloc exception thrown?
  8. The identifier argv[] is a pointer to an array of strings.
  9. Which of the following is a valid destructor of the class name "Country"
  10. There are total ------ numbers of operators in 'C'.
  11. Only one break can be used in one loop.
  12. The output of the following code is: void main() {int a = 0; while (a<=50) for(;;) if(++a % 50==0)…
  13. fopen() function returns a pointer to the open file.
  14. Left shift operator rotates the bits on the left and places them to the right.
  15. What's wrong? while( (i < 10) && (i > 24))
  16. The function fopen() on failure returns---------------------.
  17. Which header file is essential for using strcmp() function?
  18. The output of the following code is: #define sqr(x= x*x) main() {int a = 10, b = 5; printf("%d, %d",…
  19. What is the difference between overloaded functions and overridden functions?
  20. Union is used to hold different data at different time.
  21. p++ executes faster than p + 1.
  22. What will be output if you will compile and execute the following c code?#include int main(){ char c=125;…
  23. Which of the following expressions is wrong
  24. When a user defined function is defined in program, then it has to be called at least once from the…
  25. A continue statement causes execution to skip to
  26. the value *(&i) is same as printing the value of address of i.
  27. Character data types cannot be declared as unsigned.
  28. ------ is the ternary operator
  29. char *s[10] defines an array of ------------------------
  30. Which one of the following is not a fundamental data type in C++