CPP Array to Function
Arguments are the variables, inside the parentheses, after the function name which is used to pass informations to functions. Beside passing variables and pointers, arrays can also be passed as a function parameter or argument. Syntax: Return_type functionName (Data_type array Name[]) { code to be executed; } Example: #include <iostream.h> using namespace std; … Read more