+ 2
How to use a variable?
2 Réponses
+ 1
int x; declaring
cout<<x; output
cin>>x; input
x++/x--; increment decrement
int y,z; multiple declaration
y=x+z; use with operations
x=6; assignment
add(x); as a parameter to function
0
you need to have any interger following the int
ex: int myself(6)