Podcast
Questions and Answers
Which symbol is used to define the size of an array in C?
Which symbol is used to define the size of an array in C?
- <>
- {}
- [] (correct)
- ()
What is the index number of the second element in an array?
What is the index number of the second element in an array?
- 2
- 0
- 3
- 1 (correct)
How do you change the value of a specific element in an array?
How do you change the value of a specific element in an array?
- Use the 'modify' keyword
- Refer to the element's index number (correct)
- Refer to the element's value
- Use the 'change' keyword
What type of loop can be used to iterate through the elements of an array in C?
What type of loop can be used to iterate through the elements of an array in C?
What is the purpose of using arrays in C?
What is the purpose of using arrays in C?