AlexN, frankie
Thanks. Good to know that the problem is not compiler-specific. It's funny that code below is working fine.
#include <wchar.h>
#include <stdio.h>
int main(void)
{
wprintf(L"%s","0000000000000000000000000000000000\n");
}
Original problem was in using both wprintf and printf in the code.
I tried my code, and wprintf behavior, that depends on argument length, make me think it's a bug.
Now i think that using both version of printf was not clever, so original problem exterminated.
Thanks again.