Linux Bash Arithmetic Expressions Question:
What is the output of this program?
#!/bin/bash
a=1; b=2; c=3
d=$(( ++a**b*c++ + a ))
echo $d
exit 0
a) 14
b) 12
c) program will generate an error message
d) none of the mentioned

Answer:
a) 14
The operators in decreasing order of precedence are ++, **, *, +.
The operators in decreasing order of precedence are ++, **, *, +.