C++ Programming Questions Answers - Set 2
-
64. The private data members of a class are accessible ?
- Directly to objects of that class
- To any function defined outside a class
- Only to the member functions
- Only using keyword static
Answer And Explanation
Answer: Option C
-
65. In C++ Functions can returns ?
- arrays
- reference
- objects
- all of above
Answer And Explanation
Answer: Option D
-
66. What among following is a generic class ?
- Function Template
- Class Template
- Inherited Template
- None of above
Answer And Explanation
Answer: Option B