Thank you for the explanation.So it is basically passing the address of the first element of the array to the function and then function is able to increment to next element address?..Also, I wrote...
Type: Posts; User: voidmainvoid
Thank you for the explanation.So it is basically passing the address of the first element of the array to the function and then function is able to increment to next element address?..Also, I wrote...
take a look
#include <iostream>
using namespace std;
void input (int test[5])
{
int i;
for(i=0;i<5;i++)
{