#include <stdio.h>
#include <wchar.h>
// wchar_t* wmemmove (wchar_t* destination, const wchar_t* source, size_t num);
// Move block of wide characters
// Copies the values of num elements of type wchar_t from the source to the destination
void main()
{
wchar_t string[] = L"Learn c programming";
printf("%ls\n", string);
wmemmove(string + 4, string, 2);
printf("%ls\n", string);
}
/*
run:
Learn c programming
LearLec programming
*/