1.

How does the strings are stored in the memory?(a) Contiguous(b) Non-contiguous(c) Null(d) sequenceI had been asked this question by my college professor while I was bunking the class.Question is from String Characters topic in chapter Strings, Streams & Numerics in C++ of C++

Answer»

The CORRECT ANSWER is (a) Contiguous

Easy explanation - The characters of a STRING are STORED contiguously in the memory.



Discussion

No Comment Found

Related InterviewSolutions