wap in c to accept a number display the total count of digit
Answer Posted / sashidharan
main()
{
int n,count=0;
scanf("%d",&n);
for(i=0;i<=n;i++)
{
count=count+1;
}
printf("total count of digit",count);
}
| Is This Answer Correct ? | 22 Yes | 20 No |
Post New Answer View All Answers
Explain union. What are its advantages?
shorting algorithmS
Why C language is a procedural language?
Why is c not oop?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
Why can't I perform arithmetic on a void* pointer?
If fflush wont work, what can I use to flush input?
What is anagram in c?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
What is a macro in c preprocessor?
Can we compile a program without main() function?
Write a program to know whether the input number is an armstrong number.
What is c language in simple words?
Why is c called "mother" language?
What is difference between && and & in c?