1. Show how to declare a short int array called hightemps that is 31 elements long.
2. In C++, all arrays begin indexing at ________.
3. Write a program that searches an array of ten integers for duplicate values. Have the program display each duplicate found.
4. What is a null-terminated string?
6. When using strcat( ), how large must the recipient array be?
7. In a multidimensional array, how is each index specified?
8. Show how to initialize an int array called nums with the values 5, 66, and 88.
9. What is the principal advantage of an unsized array declaration?
10. What is a pointer? What are the two pointer operators?
11. Can a pointer be indexed like an array? Can an array be accessed through a pointer?
13. What is it called when one pointer points to another pointer?
14. Of what significance is a null pointer in C++?
No comments:
Post a Comment