Computer Science, asked by digital9578, 9 months ago

How to take input decimal number in the form of character array in c++

Answers

Answered by Anonymous
2

Explanation:

The input string is a sequence of characters that can be interpreted as a numeric value of the specified return type. The function stops ...

Answered by Brâiñlynêha
4

Explanation:

do {

int digit = n % 10;

putchar('0' + digit);

n /= 10;

} while (n > 0);

Similar questions