Question
Assuming a variable w has been assigned the value 15, what does the following statement do?w == 15 ? x = 2 : x = 0;a. assigns 15 to wb. assigns 2 to xc. assigns 0 to xd. nothing
Step 1
The problem states that w has been assigned the value 15. Show more…
Show all steps
Your feedback will help us improve your experience
Watch the video solution with this free unlock.
EMAIL
PASSWORD