Skip to content

Instantly share code, notes, and snippets.

@ramiresnas
Created December 20, 2017 20:12
Show Gist options
  • Save ramiresnas/cb94d4f94b61ac5f55bbbbb990e41717 to your computer and use it in GitHub Desktop.
Save ramiresnas/cb94d4f94b61ac5f55bbbbb990e41717 to your computer and use it in GitHub Desktop.
//declarando
int numero;
//inicializando
numero = 2234589;
//poderiamos ter declarado e inicializado em uma única linha
int numero2 = 2234589;
//uma outra forma válida mas menos utilizada é:
int x=3,y=5,z=x;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment