I use Visual Studio 2015. There is a simple code
char blablabla[] = "ABCDEFGH";
int main()
{
int a = sizeof(blablabla);
return 0;
}
Debugger shows that blablabla has "?ABCDEFGH" and a is 10. What does this question mark doing here?
I use Visual Studio 2015. There is a simple code
char blablabla[] = "ABCDEFGH";
int main()
{
int a = sizeof(blablabla);
return 0;
}
Debugger shows that blablabla has "?ABCDEFGH" and a is 10. What does this question mark doing here?
You have an unicode character of \u202D in your array that can not be represented in the current code page. Hence the displayed ? character.