unknownsimpledsa.hashnode.dev·Dec 30, 2023Passing array to a function#include<iostream> using namespace std; void func(int *arr){ } void func(int arr[]){ } //both the way of passing a function are same int main(){ func(arr); }passing array to a function