void printArray(const std::array<int, 5> &n)??why we are writing &n in the function for passing std::array??
Kuldeep Kushwaha
void printArray(const std::array<int, 5> &n)
please explain why we are writing &n here.we are calling a function by giving n as argument but in function we are writing const std::array<int, 5> &n??