The wmemmove() function is defined in cwchar.h header file. The wmemmove() function copies a specified number of wide characters from source to the destination.
wchar_t* wmemmove(wchar_t* dest, const wchar_t* src, size_t n);
Parameters: This method accepts the following parameters:
- dest: specifies the pointer to the destination array.
- src specifies the pointer to the source array.
- n: Number of wide characters to copy from src to dest.
Returns: The wmemmove() function returns the modified destination.
The below program illustrate the above function:-
Destination: A computer science portal for geeks Source: geeksforgeeks After modication, destinstion: A ksforter science portal for geeks
Rated as one of the most sought after skills in the industry, own the basics of coding with our C++ STL Course and master the very concepts by intense problem-solving.
- What happens when a virtual function is called inside a non-virtual function in C++
- Function Overloading vs Function Overriding in C++
- Difference between Virtual function and Pure virtual function in C++
- How to call some function before main() function in C++?
- How to call function within function in C or C++
- Difference between user defined function and library function in C/C++
- Difference between virtual function and inline function in C++
- Can we call an undeclared function in C++?
- Can we use function on left side of an expression in C and C++?
- Declare a C/C++ function returning pointer to array of integer pointers
- Function overloading and return type
- Function Pointer in C
- Default arguments and virtual function
- Function overloading and const keyword
- How to measure time taken by a function in C?
- Comparator function of qsort() in C
- Can we access private data members of a class without using a member or a friend function?
- Function Overloading and float in C++
- Extra brackets with function names in C/C++
- Function Interposition in C with an example of user defined malloc()
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.
Improved By : prekshasingh50