Welcome Guest | Sign in | Register
Pointers & Structures - Discussion Page For Q.10592 | C Programming Questions and Answers | C Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > Pointers & Structures > Questions and Answers

Exercise:

Section 1

Q: An array of pointers (10 elements) of type time (as detailed above in 7.), called sample is declared. Update the field month of the third array element to 12.
A. *(sample[2]->month) = 12; B. sample[3].month = 12;
C. *sample[2]->month = 12; D. *(sample[3]->month) = 12;

Answer and Explanation

Answer:*(sample[2]->month) = 12;

Explanation:
There is no explanation...

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.