Turning Learners Into Developers
Codekilla
CODEKILLA
back to course
Lesson 23 / 7132%
Data & Pointers1/5

C++ Arrays & Strings

Arrays store many values of the same type; strings are arrays of characters with super-powers. Master both.

int nums[5] = {10, 20, 30, 40, 50};nums[0]10nums[1]20nums[2]30nums[3]40nums[4]50indexing starts at 0 — last element is nums[n-1]
Visual explanation diagram · click steps to walk through it

This lesson is Pro only.

Unlock every premium lesson and module — Pro from ₹299 / month (or ₹999 / year, saves ~₹2,589).

Sign in to unlock
// feedback.matters()
Did this lesson help you?