Home

Bitwise operators can operate upon?

A. double and chars

B. floats and doubles

C. ints and floats

D. ints and chars

You can do it
  1. It is necessary to initialize the array at the time of declaration.
  2. The output of the following code is: main() {int a = 5, b = 6; (a == b? printf("%d", a)); }
  3. The output of the following code is: main() {int a = 0; for (; i = 0; i++) printf("%d", a); }
  4. The expression "b = 3 ^ 2;" will evaluate b = 9.
  5. The output of the following code is: void main(){int z, a = 5, b = 3; z = a * 2 + 26 % 3;printf("%d",…
  6. The expression (i + j)++ is illegal.
  7. Which of the following is a valid destructor of the class name "Country"
  8. /* The C language./* is a procedural language .*/*/The above statement is valid.
  9. What will be output if you will compile and execute the following c code?#include int main(){ float…
  10. Which of the following shows the correct hierarchy of arithmetic operations in C
  11. A recursive function calls itself again and again.
  12. Right shifting an operand 1bit is equivalent to multiplying it by 2.
  13. fopen() function returns a pointer to the open file.
  14. Which among the following is a unconditional control structure
  15. emp name' is a valid variable name.
  16. When is std::bad_alloc exception thrown?
  17. Which escape character can be used to beep from speaker in C?
  18. The-------------------- statement helps immediate exit from any part of the loop
  19. Which of the following expressions is wrong
  20. The output of the following code is: void main() {int a = 0; while (a<=50) for(;;) if(++a % 50==0)…
  21. printf("%d", sizeof('2')); will print 2.
  22. The output of the following code is:void main() {char a = 'B';switch (a) {case 'A' : printf("a"); case…
  23. What's wrong? (x = 4 && y = 5) ? (a = 5) ; (b = 6);
  24. Which of the following is an example of compounded assignment statement?
  25. p++ executes faster than p + 1.
  26. How many times the following loop will execute?for (a = 0; a < 4; a++)printf("hello");
  27. static variable will not always have assigned value.
  28. The output of the following code is: main() { int sub[50]; for(i=0; i<=48;i++) { sub[i]=i; printf("%d",…
  29. Left shift operator rotates the bits on the left and places them to the right.
  30. For 16bit compiler allowable range for integer constants is ______ ?