New course! Every coder should learn Generative AI!
Try a free lesson+ 1
int main(){ string a="this is awesome"; cout<<a[9]; } output=?????
3 Answers
+ 2
I suppose you mean a[9]. The output is the 10th character of "this is awesome", ie 'w'.
0
thanks :)
0
w