Home

Every if statement can be converted into an equivalent switch statement.

A. True

B. False

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

You can do it
  1. The output of the following code is: void main(){int z, a = 5, b = 3; z = a * 2 + 26 % 3;printf("%d",…
  2. continue statement is used
  3. p++ executes faster than p + 1.
  4. The output of the following code is:void main() {char a = 'B';switch (a) {case 'A' : printf("a"); case…
  5. Which of the STL containers store the elements contiguously (in adjecent memory locations)?
  6. A C variable cannot start with
  7. # define PI = 8;' is the correct declaration of macros.
  8. What is the right way to access value of structure variable book{ price, page }?
  9. gets() and puts() are unformatted I/O functions.
  10. struct stud{int roll;char name[20];float marks;} *p;What will be the byte size of p?
  11. printf("%d", sizeof('2')); will print 2.
  12. When is std::bad_alloc exception thrown?
  13. Which among the following is a unconditional control structure
  14. The output of the following code is: main() { int k, num = 30; k = (num > 5 ? (num <= 10 ? 100…
  15. Variables declared as register storage type gets stored in CPU registers.
  16. Which classes allow primitive types to be accessed as objects?
  17. Which of the following is allowed in a C Arithmetic instruction
  18. Structures within structures cannot be created.
  19. The output of the following code is: main() {int a[10], i; for (i = 1; I <= 0; i++) {scanf("%d",…
  20. Bitwise operators can operate upon?
  21. In the expression - 'x + y + 3z =20'
  22. The output of the following code is: void main() {int a = 0; while (a<=50) for(;;) if(++a % 50==0)…
  23. Which one of the following is not a fundamental data type in C++
  24. The main() function can be called from any other function.
  25. The same variable names of automatic type can be used in different functions without any conflict.
  26. Union is used to hold different data at different time.
  27. Left shift operator rotates the bits on the left and places them to the right.
  28. static variable will not always have assigned value.
  29. What's wrong? for (int k = 2, k <=12, k++)
  30. What is the difference between overloaded functions and overridden functions?