can a vector declare inside function should sent to main function code example
Example: cpp function takes in vector
// Make sure to specify the type of the contents, as in:
void func(vector<int> vect)
{
vect.push_back(30);
}
// Make sure to specify the type of the contents, as in:
void func(vector<int> vect)
{
vect.push_back(30);
}