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 how can I prevent another program from modifying part of a file that I am modifying?
What are types of structure?
How do I create a directory? How do I remove a directory (and its contents)?
What is the difference between text and binary modes?
What is the difference between break and continue?
What language is windows 1.0 written?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
What are keywords c?
What is array in c with example?
What type of function is main ()?
Is it acceptable to declare/define a variable in a c header?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
What is the difference between #include
What are the key features in c programming language?
What are header files? What are their uses?