It's UWAweek 42 (2nd semester, week 12)

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
Displaying the 1 article in this topic
Showing 1 of 674 articles.
Currently 6 other people reading this forum.


 UWA week 34 (2nd semester, week 5) ↓
SVG not supported

Login to reply

👍?
helpful
2:21pm Wed 21st Aug, Christopher M.

ANONYMOUS wrote:
> Not sure if I am correct but the reason why B (int x = 2 * 10;;) is because it would take the second semicolon as an empty statement so it'll be read as > int x = 2 * 10; > ; > which would not affect the program itself but will just look weird and isn't good practice
This is the correct reasoning.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy