29.11.2013, 17:35
The code is fine, try compiling it yourself and see.
It's not necessary to use block of code { } for 1 statement/function or few of them which are separated with comma. However if you use a semicolon and more than 1 statement/function, then it must be inside { }.
It's not necessary to use block of code { } for 1 statement/function or few of them which are separated with comma. However if you use a semicolon and more than 1 statement/function, then it must be inside { }.