C++20 sections · 1024 units
Open in Course

Quiz: Initialization

Test understanding

Check Your Understanding

What are the values of nums[2] and nums[3] after int nums[5] = {7, 8};?

  1. A.Both are undefined (garbage)
  2. B.nums[2] is 0, nums[3] is undefined
  3. C.Both are 0
  4. D.Both are 7
Start the roadmap to answer the quizzes and solve the challenges