I noticed a weird problem while using wcout in a console application.

After calling a certain function, the rest of the wcout calls did not work at all. i.e. the output statements did not appear on the console.

I noticed that in the function, I had used a wide character array which was never assigned.

```
WCHAR wArray[1024];
wcout<<wArray<<endl;

```

It was after this call, all the other wcout's stopped working. 

So, I was just curious to know what makes wcout different from cout, and why this problem occured,