-3

In C++, is it possible to give array as input to a function.

smrati katiyar
  • 457
  • 1
  • 6
  • 11

1 Answers1

1

Most likely you can do this all with vectors.

#include <vector>

std::vector<int> function_name(const std::vector<int>& A, const std::vector<int>& B);
juanchopanza
  • 223,364
  • 34
  • 402
  • 480