download Mastguru Android App

Question Detail

Which arithmetic operation can be done in pointer

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

1. What is inheritance

  • Inheritance allows one class to reuse the state and behavior of another class.
  • It deals with dangling pointers
  • It deals with void pointers
  • It is type of class declaration

2. Which operator is used for comparing two variables

  • :=
  • =
  • =:
  • ==

3. Which among following has invalid syntax ?

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

4. All members of class have which access to its members

  • private
  • public
  • protected
  • depends

5. What is the value of sizeof(char)

  • 1
  • 2
  • 4
  • 8
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment

  • vj 11 years ago

    Addition of two pointer is not possible