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
Is javascript written in c?
Explain what is the difference between text files and binary files?
Can we initialize extern variable in c?
In C, What is the #line used for?
What is null pointer constant?
How was c created?
What is a wrapper function 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
Where is c used?
What is difference between array and pointer in c?
What do you mean by dynamic memory allocation in c? What functions are used?
Write a program to print fibonacci series using recursion?
Why main is used in c?
What are c identifiers?
Why is structure important for a child?