For code like this, the compiler and debugger are your best friends.....Try to compile and run the code :)"Compilers understand the code better than humans do"