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

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. The identifier argv[] is a pointer to an array of strings.
  2. What is C Tokens?
  3. The expression "int i = j = k = 0;" is invalid.
  4. The output of the following code is: void main(){int z, a = 5, b = 3; z = a * 2 + 26 % 3;printf("%d",…
  5. The output of the following code is: void main() {int a; int &b = a;a=100; printf("b=%d\ta=%d",…
  6. Which escape character can be used to beep from speaker in C?
  7. The function fopen() on failure returns---------------------.
  8. Which of the following expressions is wrong
  9. The size of signed integer is ------ bytes.
  10. What is an array?
  11. The expression (i + j)++ is illegal.
  12. The-------------------- statement helps immediate exit from any part of the loop
  13. /* The C language./* is a procedural language .*/*/The above statement is valid.
  14. Which of the following correctly describes C++ language?
  15. The output of the following code is: void main() {int a = 1, b=2; int *ip; ip=&a; b=*ip; printf("%d",…
  16. The output of the following code is:void main() {char a = 'B';switch (a) {case 'A' : printf("a"); case…
  17. unsigned' is a valid variable name.
  18. The main() function can call itself recursively.
  19. The output of the following code is: main() {int a = 5, b = 6; (a == b? printf("%d", a)); }
  20. The output of the following code is: main() { xyz: goto abc;printf("Hello"); abc: printf("World");goto…
  21. do-while loop is useful when we want the statements within the loop must be executed
  22. The output of the following code is: void main() {int a = 0; while (a<=50) for(;;) if(++a % 50==0)…
  23. A multidimensional array A[10][9] can store-------- number of elements
  24. The -------------------------- loop executes at least once.
  25. ------ is the ternary operator
  26. unsigned char has a range from 0 to ------------
  27. For 16bit compiler allowable range for integer constants is ______ ?
  28. The main() function can be called from any other function.
  29. A C variable cannot start with
  30. strcat() function ----------------------- two strings.