Qualcomm interview question

They asked to implement dfs using c and add 2 numbers without using any arithmetic operator.