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];

Showing Answers 1 - 1 of 1 Answers

Munish

  • Apr 14th, 2006
 

sayint * ptoia[10];int a=10;so we can writeptoia[0]=&a;.... and so on,.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions