Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please answer these short questions using c Answer the following questions 1. Given the following structure and variable definitions, struct customer { char lastNamel 20];
please answer these short questions using c
Answer the following questions 1. Given the following structure and variable definitions, struct customer { char lastNamel 20]; char firstName[ 20 ]; unsigned int customerNumber; struct char phoneNumber[ 11 ]; char address[ 60 ]; char city[ 20; char statel 3; char zipCode[ 6]; l personal; customerRecord, *customerPtr; customerPtr - &customerRecord Write an expression that can be used to access the structure members in each of the following parts: a) Member lastName of structure customerRecord b) Member lastName of the structure pointed to by customerPtr. c) Member firstName of structure customerRecord d) Member firstName of the structure pointed to by customerPtr. e) Member customerNumber of structure customerRecord. f) Member customerNumber of the structure pointed to by customerPtr. g) Member phoneNumber of member personal of structure customerRecord. h) Member phoneNumber of member personal of the structure pointed to by customerPtr. i) Member address of member personal of structure customerRecord j) Member address of member personal of the structure pointed to by customerPtr. k) Member city of member personal of structure customerRecord 1) Member city of member personal of the structure pointed to by customerPtr. m) Member state of member personal of structure customerRecord. n) Member state of member personal of the structure pointed to by customerPtr. o) Member zipCode of member personal of structure customerRecord. p) Member zipCode of member personal of the structure pointed to by customerPtrStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started