Question: C++, please answer all the questions right please and thank you 1. To add a to b and store result in b, you write (Note:
C++, please answer all the questions right please and thank you
1. To add a to b and store result in b, you write (Note: C++ is case-sensitive) a) b+=a; b) a=b+a; c) b=A+b; d) a+=b; 2. To declare an int variable x with initial value 200 , you write: a) int x=200L; b) int x=2001; c) int x=200; d) int x=200.0; 3. Which of the following is the correct expression that evaluates to true if the number x is between 1 and 100 or the number is negative? a) 1
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
