Examveda
Examveda

What is the correct way to pass an array as an argument to a function in C++?

A. By declaring the array as global

B. By passing the array itself

C. Using a pointer to the array

D. By passing each element of the array individually

Answer: Option C


Join The Discussion

Related Questions on Arrays and Strings in C plus plus