I am writing a small program in which i have 3 methods. All are working fine. One of the method getstring(char_aarray, string, int_array) is taking 3 arguments First arguments is char[ ] and returning a character array char[ ]. I want that when the program start and there is a call to getstring(char_rarray, string, int_array) method, it takes a predefined char[ ] as arguemnt but second time if there is call to that method it uses its own returned char[ ].
Thanks in advance.