Hello all,
I have tried to pass character array from main( ) function to getAddress () function using call by reference.But unforunately i have done some modification in that array.So original value was changed.Now I have to use call by value to pass my array from main () to getAddress.

Is it possible to pass array using call by value in C++? or I have to put inside structure after that i have to pass structure to any function.

kindly explain me using sample programs in C++.

Regards
R.Jaiganesh