a MS interview question about C++# JobHunting - 待字闺中
l*y
1 楼
how to copy a string without using strcpy function in only one clause? for
example
char * str1 = "welcome";//this is source to be copied
//want to copy str1 to dest using only one clause!
......char * dest ......//how to write this clause?
example
char * str1 = "welcome";//this is source to be copied
//want to copy str1 to dest using only one clause!
......char * dest ......//how to write this clause?