It's UWAweek 38 (2nd semester, week 8)

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 selected article
Showing 1 of 477 articles.
Currently 48 other people reading this forum.


 UWA week 33 (2nd semester, week 4) ↓
SVG not supported

Login to reply

👍?
helpful
12:01pm Wed 14th Aug, ANONYMOUS

For the question 12 void function(void) { for (int i = 0; i < 5; ++i) { switch (i % 3) { case 0: printf("%i ", i); break; case 1: printf("%i ", i); break; } } printf("\n"); } The options for the output are: A. 0 1 2 3 4 B. 1 3 5 C. 0 0 1 3 3 4 D. 0 1 1 2 3 4 4 can u please confirm what will be the correct output? my output doesn't match the options. maybe I am wrong :)idk

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