1.

What is Character-Array?(a) array of alphabets(b) array of well-defined characters(c) array of characters(d) array of characters terminated by \0This question was posed to me in quiz.This question is from String in division Source Files, Classes and Operator Overloading in C++ of C++

Answer» CORRECT ANSWER is (c) array of characters

The best explanation: Character-Array is DEFINED as an array of characters, not NECESSARILY terminated by \0. Also, a character-array can CONTAIN characters other than alphabets.


Discussion

No Comment Found

Related InterviewSolutions