1.

Which of the following type is provided by C++ but not C?(a) int(b) bool(c) float(d) doubleI had been asked this question in semester exam.The question is from C++ vs C in chapter Basics Concepts of C++ of C++

Answer»

The CORRECT option is (b) bool

Explanation: C++ provides the BOOLEAN type to handle true and false VALUES whereas no such type is provided in C.



Discussion

No Comment Found

Related InterviewSolutions