C++ Programming Questions Answers - Chapter 1
-
15. what is the size of int datatype for 32 bit system
- 1 byte
- 2 byte
- 4 byte
- 8 byte
Answer :
Option C
-
16. What is polymorphism
- Ability to take more than one form
- Ability to destroy destructor
- Ability to create constructor
- None of above
Answer :
Option A
-
17. All members of class have which access to its members
- private
- public
- protected
- depends
Answer :
Option A
-
18. ios::ate is used for
- Set the initial position at the start of the file
- Set the last position at the end of the file
- Set the initial position at the end of the file
- Set the last position at the start of the file
Answer :
Option C
-
19. cout is declared in the _____ standard file within the std namespace
- outstream
- stdin
- iostream
- None of above
Answer :
Option C
-
20. Which is boolean operator for logical and
- &
- ||
- &|
- &&
Answer :
Option D
-
21. Meaning of PDB
- Physical Database File
- Program Database File
- Program Direct File
- None of above
Answer :
Option B