1. | What is an array? | |
2. | What does the ^ operator do? | |
3. | What is a multidimensional array? | |
4. | A string is actually an __________of ____________. | |
5. | List four string methods. | |
6. | How would you initialize this array to all 0’s int myarray[4]; | |
7. | All arrays start at what index number? | |
8. | What is the purpose of the cstring header file? | |
Answers
1. | A series of variables with the same name and the same data type, that are contiguous in memory. |
2. | It does an exclusive bitwise or. |
3. | An array with more than one dimension, such as the array int [5][4] actually has 20 elements (5 4) |
4. | array, characters |
5. | strlen, strcpy, strcat, strncat |
6. | int myarray[4] = {0,0,0,0}; |
7. | 0 |
8. | To give you access to the C++ CString class |