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
Give the rules for variable declaration?
hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
Why can't I perform arithmetic on a void* pointer?
What is a union?
What oops means?
Why doesnt this code work?
Why & is used in c?
Is linux written in c?
Describe dynamic data structure in c programming language?
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
How can you call a function, given its name as a string?
what type of questions arrive in interview over c programming?
What is the value of uninitialized variable in c?
What is static and volatile in c?
What is use of pointer?