Question Detail

Which type of variables can be referred from anywhere in the c++ code

  • All variables
  • Local variables
  • Universal variables
  • Global variables
Similar Questions :

1. Declaring pointer more than one can cause

  • Trap
  • abort a program
  • error
  • none of above

2. Which arithmetic operation can be done in pointer

  • Multiplication
  • Division
  • Addition
  • None of above

3. Which of the following type of class allows only one object of it to be created

  • Virtual class
  • Abstract class
  • Singleton class
  • Friend class

4. What is the value of sizeof(char)

  • 1
  • 2
  • 4
  • 8

5. Dereference operator is also called as

  • pointer
  • Reference operator
  • Offset operator
  • Deoffset operator
Read more from - C++ Programming Questions Answers - Chapter 1