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

Write a program in c to input a 5 digit number and print it
in words.

Answer Posted / manoj kumar

the program u wrote is wrong because it prints in reverse
means if u gave 12345 the output will be five four three
two one like this
for getting correct output the given number would be
reversed and we write code for that reversed number.

Is This Answer Correct ?    27 Yes 30 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain pointer. What are function pointers in C?

1145


main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }

1509


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

2173


why do some people write if(0 == x) instead of if(x == 0)?

1125


What is this pointer in c plus plus?

1138


Why void is used in c?

1060


which type of aspect you want from the student.

2205


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

4014


Tell us something about keyword 'auto'.

1109


How can I handle floating-point exceptions gracefully?

1242


When we use void main and int main?

1127


Explain how can a program be made to print the name of a source file where an error occurs?

1247


difference between Low, Middle, High Level languages in c ?

2139


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

1138


Which is better pointer or array?

1069