C++ : Confusing Initializer List – stackoverflow.com

This declaration is very confusing: char* q {new char[1024]{}}; // q[i] becomes 0 for all Is this a pointer to a char array, or an array of char pointers? I think that new char[1024]{} is ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "C++ : Confusing Initializer List – stackoverflow.com"