i have written a C++ program in linux .it was compiled sucessfully. at the run time i got aproblem i.e while running the programm half the of the output has shown correctly remaining half has shown in different language (chinnese or japanese ) that should not understand to me
plz can one help me
Could it be, that you have a pointer, which oversteps the end of an array?
or
Could it be, that a function returns a pointer to a local array, which is automatically destroyed, when the function returns?
This would be some of the reasons, which would cause such behaviour.