Question 1 (5% - 3 minutes) Assume that a Person is defined as shown here and that two variables are defined as follows: Person a, b; typedef struct p { char *name; unsigned char age: height: *friend;...


Question 1<br>(5% - 3 minutes) Assume that a Person is defined as shown here and that two<br>variables are defined as follows: Person<br>a, b;<br>typedef struct p {<br>char<br>*name;<br>unsigned char<br>age:<br>height:<br>*friend;<br>double<br>struct p<br>}Person;<br>Complete the whole test based on this Person struct and variables a and b.<br>

Extracted text: Question 1 (5% - 3 minutes) Assume that a Person is defined as shown here and that two variables are defined as follows: Person a, b; typedef struct p { char *name; unsigned char age: height: *friend; double struct p }Person; Complete the whole test based on this Person struct and variables a and b.
(e) (5% - 3 minutes) Without using the variable b, write code that will set Mary's<br>height to be 6.2. (assume that Matt is stored in variable a and Mary is stored in<br>variable b and that Matt's friend has been set to Mary).<br>

Extracted text: (e) (5% - 3 minutes) Without using the variable b, write code that will set Mary's height to be 6.2. (assume that Matt is stored in variable a and Mary is stored in variable b and that Matt's friend has been set to Mary).

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here