Computer Science - Object Oriented Programming Using C++ - Discussion
Discussion Forum : Object Oriented Programming Using C++ - Section 2 (Q.No. 2)
The first element in a string is
No answer description is available. Let's discuss.
Discussion:7 comments Page 1 of 1.
Bhavnish said: 4 years ago
Yes, correct, But can anyone tell me what is the name of an array of the String which contains that String?
Bilal said: 5 years ago
According to the question, the first element of the string. Obviously the first character. But not important in case.
Lakshyajit said: 8 years ago
We that the best definition of string is "The string is a array of characters terminated with a null character". So the first element of a string is the first character of the string.
Babita said: 9 years ago
According to question the first element of the string. Obviously the first character.
Ravi said: 9 years ago
The definition of string is collection of characters ending with null character ('/0'). So obviously, first element would be character.
Hareesh said: 10 years ago
The answer is the name of the string. Like e.g:string s, s1;
Nisha singh said: 1 decade ago
Please explain me.
Post your comments here: