Welcome to the discussion about the reading assignment about Arrays in C++.
Leave your answers to the questions below in this thread. If you have any questions or you want to discuss something connected to the assignment feel free to do it in this thread as well, but please everything to the topic.
Read this article (http://www.learncpp.com/cpp-tutorial/61-arrays-part-i/).
Think about the following questions while reading:
1. What is an array?
2. Which index would you use to access the 2nd variable in an array?
3. What can you say about the size of an array?
Read this article (http://www.learncpp.com/cpp-tutorial/62-arrays-part-ii/).
Think about the following questions while reading:
- How can you initialize an array?
- How can you get the size of an array in bytes?
- How can you use the function sizeof in order to calculate the number of elements in an array?
- What happens when you try to write outside the bounds of the array?