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 how do you use a pointer to a function?

1111


State the difference between x3 and x[3].

1112


What is malloc calloc and realloc in c?

1335


Explain what is the stack?

1105


What is string concatenation in c?

1094


What is a struct c#?

1053


why return type of main is not necessary in linux

2110


Explain how do you convert strings to numbers in c?

1082


Can you apply link and association interchangeably?

1125


Define Spanning-Tree Protocol (STP)

1135


What is the advantage of using #define to declare a constant?

1096


What is #include stdio h?

1122


Write a progarm to find the length of string using switch case?

2069


What is atoi and atof in c?

1088


Explain a pre-processor and its advantages.

1139