Select the code that contains no mistakes:
Explanation
Chained assignments and type conversions are allowed in assignment operations given the compatible data types. Values of sbyte and char types will be converted to int. If at least one of the operands is of a double type, the whole expression's result will also be double.

Last two are OK if developer knows what's he's doing. They shouldn't be considered wrong.

2017 Jan 3, 12:32:31 PM

I got it all right except last two

2017 Jan 3, 12:32:12 PM

I got it all right except last two

2017 Jan 3, 12:32:12 PM

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes