-
October 11th, 2007, 12:52 PM
#1
How to pass char array values to another function using Call by value in C++?
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|