iam feelin little vague while passing array to functions and passing function to a function...could u plzz explain...

Recommended Answers

All 3 Replies

specifically what would you want to know?

arrays are transferred by value to a function, and functions are called by other functions just as integers or floats would be...

arrays are transferred by value to a function,

Not really -- only the pointer is passed by value, all data is passed by reference, that is, the data is at the same address location in both the calling and called functions. You can not pass array data by value in c language which would imply that the data is duplicated when passed to the calling function.

sorry... my bad...

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.