Created
August 26, 2014 19:56
-
-
Save VitaminaCPP/f20663671caf47b2d3bf to your computer and use it in GitHub Desktop.
Si tanto la constante como el Array pertenecieran al ámbito local, el código compilaría en C99:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main(int argc, char **argv) | |
{ | |
// Ambito local de la funcion 'main' | |
// Codigo legal en C99 y C++ | |
const int SIZE = 100; | |
int Array[ SIZE ]; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment