Interview Questions

Write a sample code to perform Shell script arithmetic operations?

bash# expr 1 + 2
[or]
bash# echo `expr 1 + 2`
[or]
bash# sum=`expr 1 + 2`
bash# echo $sum