Linux Bash Arithmetic Expressions Question: Download Questions PDF
What is the output of this program?
#!/bin/bash
a=10; b=20
c=$((++a))
let a=c+a
echo $a
exit 0
a) 21
b) 22
c) program will generate an error message
d) none of the above
![Linux Bash Arithmetic Expressions Interview Answer Linux Bash Arithmetic Expressions Interview Question](https://globalguideline.com/public/images/interview/10.png)
Answer:
b) 22
Download Linux Bash Arithmetic Expressions Interview Questions And Answers
PDF