download Mastguru Android App

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. Which operator is used for comparing two variables

  • :=
  • =
  • =:
  • ==

2. what is the size of int datatype for 32 bit system

  • 1 byte
  • 2 byte
  • 4 byte
  • 8 byte

3. Which of the following cannot be inherited from the base class

  • Constructor
  • Friend
  • Both A and B cannot be inherited
  • Both A and B can be inherited

4. Meaning of PDB

  • Physical Database File
  • Program Database File
  • Program Direct File
  • None of above

5. \r is used for

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