Question: 5. [4 Points) Multiple Choice: Circle all answers that apply 1. Which of the following accesses a variable in structure b? A. b->var; B. b.var;

 5. [4 Points) Multiple Choice: Circle all answers that apply 1.

5. [4 Points) Multiple Choice: Circle all answers that apply 1. Which of the following accesses a variable in structure b? A. b->var; B. b.var; C. *b.var; D. (*b).var; II. Which of the following accesses a variable in a pointer to a structure, *b? A. b->var; B. b.var; C. *b.var; D. (*b).var; III. Which of the following is a properly defined struct? A. struct {int a;}| B. struct a_struct {int a;} C. struct a_struct int a; D. struct a_struct {int a;}; IV. Which properly declares a variable of struct foo? A. struct foo; B. struct foo var; C. foo; D. int foo

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!