If pt is declared as a pointer to a structure of type Employee, ____ refers to the idNum member of the structure.
A. (*pt).idNum
B. *pt.idNum
C. *(pt.idNum)
D. (*pt.)idNum
Answer: A
You might also like to view...
Why do you not get an undefined reference in virtual table error when you don’t define a pure virtual function?
What will be an ideal response?
Which of the following is an example of a browser-based data?
A) Cookies B) Form history C) Search bar history D) All of the above
A file sharing network has been set up across various nodes on the Internet that lets each user act as both a client and a file server. This network model is typically referred to as a ________ network.
a. Client/server b. Token Ring c. Peer to peer d. Direct access
Suppose that you work for a beverage company. The company wants to know the optimal cost for a cylindrical container that holds a specified volume. Write a fragment of code that uses an ask-before-iterating loop. During each iteration of the loop, your code will ask the user to enter the volume and the radius of the cylinder. Compute and display the height and cost of the container. Use the following formulas, where V is the volume, r is the radius, h is the height, and C is the cost.