Grokking increment/decrement operator syntax

Report a typo

Choose the correct form of increment/decrement syntax in the code snippets below:

a)

a := 5
a++
a--

b)

a := 5
(a++)++

c)

a := 5
b := 1 + a--

d)

a := 5
b := a--
Select one option from the list
___

Create a free account to access the full topic