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 do you use a pointer to a function?
State the difference between x3 and x[3].
What is malloc calloc and realloc in c?
Explain what is the stack?
What is string concatenation in c?
What is a struct c#?
why return type of main is not necessary in linux
Explain how do you convert strings to numbers in c?
Can you apply link and association interchangeably?
Define Spanning-Tree Protocol (STP)
What is the advantage of using #define to declare a constant?
What is #include stdio h?
Write a progarm to find the length of string using switch case?
What is atoi and atof in c?
Explain a pre-processor and its advantages.