题目内容

The statement ____ passes a copy of the structure member emp.idNum to a function named display().

A. display(*emp.idNum);
B. display(emp.idNum);
C. display(&emp.idNum);
D. display(emp->idNum);

查看答案
更多问题

The function call ____ passes a copy of the complete emp structure variable to calcNet().

A. calcNet(struct emp);
B. calcNet(*emp);
C. calcNet(&emp);
D. calcNet(emp);

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

A union reserves sufficient memory locations to accommodate ____.

A. its smallest member’s data type
B. its largest member’s data type
C. all of its members’ data types
D. none of its members’ data types

A structure may be declared globally or locally.

答案查题题库