I wanna know about function that can be taken a string as one other than "argv".That means I didnt wanna read string char by char.i need to take whole string in one.
Do you mean you want to pass a string as a argument to a c/c++ function and name it different from argv or do you mean pass a string to main?
Passing a string to a function is no different from passing an array to a function. You can pass char[] to the function.