2018-01-29 00:43:33 +05:30
|
|
|
echo 1 $((0++1))
|
|
|
|
echo 1 $((0--1))
|
|
|
|
x=-1; echo 1 $((0-$x))
|
|
|
|
x=+1; echo 1 $((0+$x))
|
2021-09-26 16:55:49 +05:30
|
|
|
a=3
|
|
|
|
echo 6 $((a+++3)) # a++ + 3
|
|
|
|
echo 7 $(((a)+++3)) # a + + + 3
|
|
|
|
echo 7 $(((a)+++3)) # a + + + 3
|
2018-01-29 00:43:33 +05:30
|
|
|
echo Ok:$?
|