Question: 2) Complete the following program as instructed in the comments int kidsAge=11, *papaAge, *familyAges[2]; //a) dynamically allocate an int and assign the location to papaAge
2) Complete the following program as instructed in the comments int kidsAge=11, *papaAge, *familyAges[2]; //a) dynamically allocate an int and assign the location to papaAge papaAge= __________________________________________; //b) Assign 35 to papaAge (the value 35, NOT the memory location 35!) ___________________ = 35; //c) Assign element 0 of familyAges to papaAge ____________________________ = papaAge; //d) Assign element 1 of familyAges to address of kidsAge
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
