InterviewSolution
Saved Bookmarks
| 1. |
Which of the following statements are false?(a) bool can have two values and can be used to express logical expressions(b) bool cannot be used as the type of the result of the function(c) bool can be converted into integers implicitly(d) a bool value can be used in arithmetic expressionsThe question was posed to me by my college director while I was bunking the class.The doubt is from Booleans in portion Types, Pointers, Arrays & Structures in C++ of C++ |
|
Answer» The CORRECT CHOICE is (b) bool cannot be USED as the type of the result of the FUNCTION |
|