Answered step by step
Verified Expert Solution
Link Copied!

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];

image text in transcribed

image text in transcribed

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 customerPtr

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Handbook Of Database Security Applications And Trends

Authors: Michael Gertz, Sushil Jajodia

1st Edition

1441943056, 978-1441943057

More Books

Students also viewed these Databases questions