View Single Post
how do I return a 2D array from a function in C?
(#1 (permalink))
Old
kerocute3 is Offline
Private
Points: 167, Level: 2 Points: 167, Level: 2 Points: 167, Level: 2
Activity: 0% Activity: 0% Activity: 0%
kerocute3 is an unknown quantity at this point
 
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Dec 2007
how do I return a 2D array from a function in C? - December 24th, 2007

do i need to use pointers/struct in order to make it easier? If possible, a straightforward and simple way would do... thanks!
sample codes will be highly appreciated... thanks!
and also, i need it to be passed by value since the function is recursive.

Revenue Shared Ads