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 to define a member of a class from outside the class definition

  • ->
  • ::
  • .
  • >>

2. Which among following has invalid syntax ?

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

3. expression x.y represents as

  • member x of object y
  • member y of object x
  • member y of object pointed by x
  • all of above

4. \r is used for

  • carriage return
  • new line
  • end of the line
  • vertical tab

5. How we define our name for constants

  • #constant
  • #define
  • #define_constant
  • #constant_define
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment