Given that a typedef for IntPtr defines a pointer to an integer, what would be the correct declaration for a function that expects a reference to an integer pointer?

a. void f1 (IntPtr& ptr);
b. void f1 (IntPtr&* ptr);
c. void f1 (IntPtr*& ptr);
d. All of the above


a. void f1 (IntPtr& ptr);

Computer Science & Information Technology

You might also like to view...

The ____ phrases in a user story indicate the objects needed by a program.

A. adjectival B. noun C. prepositional D. adverbial

Computer Science & Information Technology

Good coding practice dictates that elements within a statement should be separated by a space to make the statement easier to read, even though the space is not required.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The process of authorizing a DHCP server is a security precaution to ensure that IP addresses are only assigned by DHCP servers that are managed by network and server administrators.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

In ASPs, the code to tie the database to the Web site is typically written in JavaScript or ____.

A. VBScript B. CGI C. PHP D. BasicScript

Computer Science & Information Technology