Why should a function that accepts an array as an argument and process that array,also accept an argument specifying the array's size?

Once you enter a function the size of the array is lost since the array address is passed, not the entire array.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.