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...

how to find sum of digits in C?

Answer Posted / mokhtar

all your answers are wrong, guys, for example when you get the reminder of 2/10, it gives you 0, because all of you used int as a data type.
so I think the the method is right, but the implementation is wrong.

regards.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to generate the Fibinocci Series

1232


difference between native and cross compilers

2125


Describe wild pointers in c?

1108


What is else if ladder?

1019


Explain modulus operator. What are the restrictions of a modulus operator?

1011


What do you mean by dynamic memory allocation in c?

1098


How does struct work in c?

1081


What is character set?

1166


Can a pointer be null?

1024


Why is c called a mid-level programming language?

1197


What is the return type of sizeof?

1063


Is c high or low level?

1005


Explain what is output redirection?

1189


What is the easiest sorting method to use?

1160


What is FIFO?

1698