It totally works, thank you.
do you recommend anything to read about pointers? something handy and easy to understand?
Regards,...
User Profile
Collapse
-
Sorry I want the output to be something like:
0 : lll
1 : kkk
2 : nnn
=============== =============== ============...Leave a comment:
-
How can one return a 2D array from a function to the main?
I have this simple program where I am trying to return a pointer to an array of chars, the output comes something like:
0 : lllkkknnn
1 : kkknnn
2 : nnn
where the first element in the array aa[][] takes all the variables of the other elements in the same array.
I want the output to be something like:
0 : lllkkknnn
1 : kkknnn
2 : nnn
Appreciate your help.
...
No activity results to display
Show More
Leave a comment: