141k views
3 votes
Q2) Answer the following:

1- Expression d=i++; causes:
a. The value of i incremented by 1
b- The value of i assigned to d
C- The value of i assigned to d then i incremented by 1
d- The value ol i incremented by 1 then assigned to d.
CO
SA​

User Kxr
by
5.2k points

1 Answer

4 votes

Answer:

D

Step-by-step explanation:

The value of i is incremented by one then assigned to d

User Thomas Sandberg
by
5.4k points