+ 2

Array

How can we seprate n digits number from each other ? ( In C )

8th Dec 2019, 8:16 PM
Maryam K
Maryam K - avatar
2 Respostas
+ 1
print it separately, or store em in an array, just do: while(num){ arr[i] = num%10; num/=10; ++i; } where arr and i have been defined
8th Dec 2019, 8:35 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 1
Hii
10th Dec 2019, 12:30 PM
Rajibul Khan
Rajibul Khan - avatar