You can pass size of an array by only using a template parameter. Here is an example code of it

Leave a Reply

Your email address will not be published.