C How to Program (8th Edition)
C How to Program (8th Edition)
8th Edition
ISBN: 9780133976892
Author: Paul J. Deitel, Harvey Deitel
Publisher: PEARSON
bartleby

Videos

Textbook Question
Book Icon
Chapter 10, Problem 10.6E

Given the following structure and variable definitions, write an expression that can be used to access the structure members in each of the following parts:

Chapter 10, Problem 10.6E, Given the following structure and variable definitions, write an expression that can be used to

  1. Member lastName of structure customerRecord.
  2. Member lastName of the structure pointed to by customerptr.
  3. Member firstName of structure customerRecord.
  4. Member firstName of the structure pointed to by customerPtr.
  5. Member customerNumber of structure customerRecord.
  6. Member customerNumber of the structure pointed to by customerPtr.
  7. Member phoneNumber of member personal of structure customerRecord.
  8. Member phoneNumber of member personal of the structure pointed to by customerPtr.
  9. Member address of member personal of structure customerRecord
  10. Member address of member personal of the structure pointed to by customerPtr.
  11. Member city of member personal of structure customerRecord.
  12. Member city of member personal of the structure pointed to by customerPtr.
  13. Member state of member personal of structure customerRecord.
  14. Member state of member personal of the structure pointed to by customerptr.
  15. Member zipcode of member personal of structure customerRecord.
  16. Member zipcode of member personal of the structure pointed to by customerPtr.

Blurred answer
Students have asked these similar questions
Let EmployeeInfo be the name of an employee information structure. When called, which one declares a function showInfo that has read-only access to the members of the provided structure? None of these  void showInfo(EmployeeInfo &emp); void showInfo(const EmployeeInfo &emp); void showInfo(EmployeeInfo *empPtr);
Write a program that performs the following procedures: 01. Structure stores marks of 7 courses with total marks and grades. 02. Get data from the user and store it inside the structure by returning from a user-defined function. 03. Calulate's the grade by passing the pointer of the total marks variable to the user-defined Grade Calculator function. 04. Calculates the grade and store it inside the structure's grade attribute. 05. Prints that structure data of marks and grades. do it in c++ language
Let EmployeeInfo be the name of a structure for employee information. Which one declares a function showInfo that has read-only access of the members of the passed structure when it is called? None of these  void showInfo(EmployeeInfo &emp); void showInfo(const EmployeeInfo &emp); void showInfo(EmployeeInfo *empPtr);

Additional Engineering Textbook Solutions

Find more solutions based on key concepts
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Structured Chart; Author: Tutorials Point (India) Ltd.;https://www.youtube.com/watch?v=vdUO-sGA1DA;License: Standard YouTube License, CC-BY
Introduction to Structure Charts; Author: Christopher Kalodikis;https://www.youtube.com/watch?v=QN2bjNplGlQ;License: Standard Youtube License