Question Detail

Which arithmetic operation can be done in pointer

  • Multiplication
  • Division
  • Addition
  • None of above
Similar Questions :

1. How to define a destructor

  • X~() {}
  • X() {}~
  • X() ~{}
  • ~X() {}

2. Which among following has invalid syntax ?

  • #include
  • #include file
  • #include "file"
  • None of above

3. Which operator is used for comparing two variables

  • :=
  • =
  • =:
  • ==

4. Which is boolean operator for logical and

  • &
  • ||
  • &|
  • &&

5. \r is used for

  • carriage return
  • new line
  • end of the line
  • vertical tab
Read more from - C++ Programming Questions Answers - Chapter 1