well, you want to pass a pointer to the array, not sure what you mean by multiply it's elements, possibly multiply each element of the array? then return the pointer back. This sounds like a homework problem, as I don't see any big companies giving you a big job and telling you it's urgent, that you have to do this. So try writing the code, send us what you've done, and we'll help.
Thanks, Tyler Littlefield Web: tysdomain.com email: ty...@tysdomain.com My programs don't have bugs, they're called randomly added features. ----- Original Message ----- From: rsashwinkumar To: c-prog@yahoogroups.com Sent: Thursday, April 02, 2009 7:41 AM Subject: [c-prog] returning arrays this may be very basic but plz., help How to pass an array(1 Dimensional) to a function, multiply its elements by 2 and return to main function and assign to another array... Plz., help urgent... [Non-text portions of this message have been removed]