1.

Which of the following is not a fundamental type is not present in C but present in C++?(a) int(b) float(c) bool(d) voidThis question was addressed to me in quiz.Asked question is from C++ Concepts in division Basics Concepts of C++ of C++

Answer» RIGHT ANSWER is (c) BOOL

Easy explanation - Boolean type is not present as a FUNDAMENTAL type in C. int type is used as boolean in C whereas in C++ bool is defined as a fundamental type for handling boolean outputs.


Discussion

No Comment Found

Related InterviewSolutions