0

What is the output for this code string a="Solo learn" cout <<a[5]

help me,i'm stuck

21st Dec 2016, 11:10 PM
Asna Khalidah Mohd Shobri
Asna Khalidah Mohd Shobri - avatar
2 Answers
+ 1
It outputs the 5th char in the string. In this example it is 'l'. With a=[6] it would be 'e'
21st Dec 2016, 11:29 PM
TheLastCookie
TheLastCookie - avatar
0
okay tq so much
22nd Dec 2016, 6:22 AM
Asna Khalidah Mohd Shobri
Asna Khalidah Mohd Shobri - avatar