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 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
Get step-by-step solutions from verified subject matter experts
