Declarations/definitions as statements in C and C++ – stackoverflow.com

I was confused when this wouldn't compile in C: int main() { for (int i = 0; i < 4; ++i) int a = 5; // A dependent statement may not be declaration return 0; } I'm used to C++ ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Declarations/definitions as statements in C and C++ – stackoverflow.com"