Basic Concept of the Array
12string students[5] = {"Anna", "John", "Emma", "Ross", "Barney"}; cout << students[3];
123string students[4] = {"Anna", "John", "Emma", "Ross"}; students[3] = "Julia"; cout << students[3];
Everything was clear?
Thanks for your feedback!
SectionΒ 5. ChapterΒ 1
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 3.7
Basic Concept of the Array
Swipe to show menu
12string students[5] = {"Anna", "John", "Emma", "Ross", "Barney"}; cout << students[3];
123string students[4] = {"Anna", "John", "Emma", "Ross"}; students[3] = "Julia"; cout << students[3];
Everything was clear?
Thanks for your feedback!
SectionΒ 5. ChapterΒ 1