Skip to content

Instantly share code, notes, and snippets.

@VitaminaCPP
Created August 26, 2014 19:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VitaminaCPP/f20663671caf47b2d3bf to your computer and use it in GitHub Desktop.
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:
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