How to know how many elements are in array which is passed as an argument to function ?

Pages: 12
@cire.. I have already stated instructions above

and i want to add to that,that number of elements in input1 is equal to number of elements in input2.
@Aceix
I guess they are using some background code of their own and that's why they have used it.
check out if they are using a sentinel.
By the way, main must return int.
Topic archived. No new replies allowed.
Pages: 12