adplus-dvertising
frame-decoration

Question

The function whose prototype is void getData(Item *thing); receives

a.

a pointer to a structure

b.

a reference to a structure

c.

a copy of a structure

d.

nothing

Answer: (a).a pointer to a structure

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The function whose prototype is void getData(Item *thing); receives

Similar Questions

Discover Related MCQs

Q. The number of structures than can be declared in a single statement is

Q. Which of the following statements will assign the address of the age variable to the agePtr pointer?

Q. The contents of two pointers that point to adjacent of type float differ by

Q. An asterisk placed after a data type means .

Q. Which of the following statements creates and initializes a pointer named salesPtr?

Q. If the code and fee arrays are parallel, the fee that corresponds to the code stored in the code[3] element is located in the _____ element

Q. To use the this pointer with a member function, you _____

Q. You have declared an integer pointer called point You have also declared an integer called number. Which statement is the correct format?

Q. Which of the following will increase the value stored in the first element of the fee array by 2?

Q. Element doubleArray[7] is which element of the array?

Q. You have assigned the address of Value to the pointer P, Which statement will display the value stored in Value?

Q. Which of the following statements will create and initialize a feelnfo array named fee?

Q. One way in which a structure differs from an array is that

Q. Variables that hold memory addresses are called _____

Q. The element of an array is

Q. Assume that a program includes the short *agePtr = NULL; statement. The name of the pointer is _____

Q. A pointer to void can hold pointers to

Q. When a multidimensional array is accessed, each array index is

Q. You indicate a variable is a pointer variable by placing a(n) _____ in front of the variable's name

Q. Which of the following statements declares a one-dimensional Character array named item that consists of five elements?