Question: what is ibase and obase?
Answer: 7. Setting ibase means you need to set obase in that same base. Explaining your examples will show this: echo "ibase=F;obase=A;C0" | bc. You set bc to consider input numbers as represented in base 15 with the "ibase=F". "obase=A" sets output numbers to base 10, which is the default.