Question: Advanced struc Prog with C++ ELET 422-02 Due: 04/03/2017 7 of 8 c, Nesting d. Stacking, 22. Which of the following statements initializes the unsigned
Advanced struc Prog with C++ ELET 422-02 Due: 04/03/2017 7 of 8 c, Nesting d. Stacking, 22. Which of the following statements initializes the unsigned int variable counter to 10? a, unsigned int counter 10: b unsigned int counter (10) c, unsigned int countert10): d. All of the above, 23. Which of the following is true? a. Assigning a double value to an int does not lose any data. b. For fundamental-type variables, list-initialization syntax prevents narrowing conversions that could result in data loss c. For fundamental-type variables, list initialization syntax allows conversions that could result in data loss. narrowing d, None of the above. Section 4.12 Compound Assignment Operators 24. Ifx initially contains the value 3, which of the following sets x to 7? a. x 4; c, x 4 d x 4 x; 25. Assuming that x and y are equal to 3 and 2, respectively, after the statement x y executes, the values ofx and y will be: a. x: 5: y: 3 b. x: 3 y: -1 c. x: 3: y: 5 d, x: 1: y: 2 Section 4.13 Increment and Deerement operators
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
