how can we pass the value of an array without using index of an array i.e subscript([]).

Recommended Answers

Pass a pointer

Jump to Post

All 2 Replies

Pass a pointer

To complete what David W said - do this: function(&array[0]) or more simply function(array)

Be a part of the DaniWeb community

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