Question: If functions are compiled separately from the main programin C++, which of the following function definitions are valid? (more than one answer can be checked)
If functions are compiled separately from the main programin C++, which of the following function definitions are valid?
(more than one answer can be checked)
void fun(int mat [ ] [ ]) {...}
void fun(int mat [5] [10]) {...}
void fun(int mat [ ] [10]) {...}
void fun(int mat [5] [ ]) {...}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
