You are on page 1of 1

passing Array to function

array can be passed two function in two ways:


1. pass entire array
-- can be passed as an arguement to a function
-- function gets complete access to the original array
-- syntax: void modifyarray( int b[],int arraysize)
-- here individual array passed as an arguments

2. pass array element by element

You might also like