Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain union. What are its advantages?

1083


shorting algorithmS

2262


Why C language is a procedural language?

1048


Why is c not oop?

984


What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

1477


Why can't I perform arithmetic on a void* pointer?

1108


If fflush wont work, what can I use to flush input?

1107


What is anagram in c?

929


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

1185


What is a macro in c preprocessor?

1108


Can we compile a program without main() function?

1133


Write a program to know whether the input number is an armstrong number.

1131


What is c language in simple words?

1074


Why is c called "mother" language?

1302


What is difference between && and & in c?

1113