How to take input decimal number in the form of character array in c++
Answers
Answered by
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
4
Explanation:
do {
int digit = n % 10;
putchar('0' + digit);
n /= 10;
} while (n > 0);
Similar questions