Exam 11: Arrays, Addresses, and Pointers
Exam 1: Introduction to Computer Programming44 Questions
Exam 2: Getting Started in C Programming46 Questions
Exam 3: Processing and Interactive Input48 Questions
Exam 4: Selection44 Questions
Exam 5: Repetition47 Questions
Exam 6: Modularity Using Functions: Part I51 Questions
Exam 7: Modularity Using Functions: Part II49 Questions
Exam 8: Arrays48 Questions
Exam 9: Character Strings51 Questions
Exam 10: Data Files50 Questions
Exam 11: Arrays, Addresses, and Pointers49 Questions
Exam 12: Structures48 Questions
Exam 13: Dynamic Data Structures49 Questions
Exam 14: Additional Capabilities55 Questions
Exam 15: A Brief Introduction to C++49 Questions
Select questions type
By adding numbers to and subtracting numbers from pointers, we can obtain different addresses.
(True/False)
4.8/5
(43)
If gPtr is a pointer that points to the first element of an integer array (and each integer requires four bytes of storage), ____ references the variable that is three integers beyond the variable pointed to by gPtr.
(Multiple Choice)
4.7/5
(40)
Adding ____ to a pointer causes the pointer to point to the next element of the original data type being pointed to.
(Multiple Choice)
4.8/5
(30)
&grade[3] is equivalent to ____; assume that grade is an array of integers, and each integer requires 4 bytes of storage..
(Multiple Choice)
4.7/5
(40)
In every respect, an array name and a pointer can be used interchangeably.
(True/False)
4.8/5
(40)
When an array is created, the compiler automatically creates an internal ____ for it and stores the base address of the array in it.
(Multiple Choice)
4.9/5
(34)
Showing 41 - 49 of 49
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)