Which of the following statements declares a function with a pointer variable as a parameter?

A. void fun (int ptr);
B. void fun (&int ptr);
C. void fun (*int ptr);
D. void fun (int& ptr);
E. void fun (int* ptr); 


Answer: E

Computer Science & Information Technology

You might also like to view...

The term ____ describes the collection of technologies, protocols, and policies that maintain, distribute, create, and validate public keys and their associated information.

A. CKI B. PKI C. SKI D. PPK

Computer Science & Information Technology

Which of the following provides 4.7 GB of storage space for data?

A. CD B. DVD C. Blu-ray disk D. hard disk drive

Computer Science & Information Technology

Describe 802.1x authentication.

What will be an ideal response?

Computer Science & Information Technology

A red Mustang is a(n) _____ of the CAR class.

A. index B. key C. metric D. instance

Computer Science & Information Technology