UST interview question

Find the sum of digits without using the '%' operator.Using C programming language