-3

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

smrati katiyar
  • 387
  • 1
  • 4
  • 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
  • 216,937
  • 30
  • 383
  • 461