Linux Bash Arithmetic Expressions Question: Download Linux Bash Arithmetic Expressions PDF

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

Tweet Share WhatsApp