Skip to main content
✏️ Code CompletionC+ C++ Easy+10 XP

Range-based For

Complete the range-based for loop.

✏️ Fill in the blank
vector<int> nums = {1,2,3,4,5};
for (___ n : nums) cout << n << " ";

✏️ Type the missing code: