How to find out the number of digits in a number in c
Answers
Answered by
2
Find the number of digits using a while loop :
#include<stdio.h>
int main(){
int no;
int totalDigits = 0;
printf("Enter a number : ");
scanf("%d",&no);
while(no!=0
no = no/10;
Answered by
2
Answer:
It is find to the number of digital of a number in c
Similar questions