How do you assign an address to an element of a pointer array ?
Skill/Topic: Array
A) by using the address operator, which is the ampersand (&), in an assignment statement
B) by using the address operator, which is the asterisks (*), in an assignment statement
C) by using the address operator, which is the Double-asterisks (**), in an assignment statement
D) None of the above
Explanation: You assign a memory address to an element of a pointer array by using the address operator, which is the ampersand (&), in an assignment statement such as ptStudents[0] = &marks[2];
-
Interview Candidate
- Dec 10th, 2005
- 1
- 3154
Showing Answers 1 - 1 of 1 Answers
Related Answered Questions
Related Open Questions
How do you assign an address to an element of a pointer array ?
A) by using the address operator, which is the ampersand (&), in an assignment statement
B) by using the address operator, which is the asterisks (*), in an assignment statement
C) by using the address operator, which is the Double-asterisks (**), in an assignment statement
D) None of the above
Explanation: You assign a memory address to an element of a pointer array by using the address operator, which is the ampersand (&), in an assignment statement such as ptStudents[0] = &marks[2];
Related Answered Questions
Related Open Questions