Question: Select all correct statement(s) for the following code: int i=5; int answer =i+++i; it+ will increment the i value by 1 , and then use

 Select all correct statement(s) for the following code: int i=5; int

Select all correct statement(s) for the following code: int i=5; int answer =i+++i; it+ will increment the i value by 1 , and then use the value (6) in context i++ will use the i value (5) in the context and increment i value by 1 - - i will decrement the i value by 1 , and then use the value (4) in context -i will decrement the i value by 1 , and then use the value (5) in context

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!