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
When should structures be passed by values or by references?
How does struct work in c?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
Between macros and functions,which is better to use and why?
What is the difference between constant pointer and constant variable?
Which is best linux os?
Are the variables argc and argv are local to main?
What is ambagious result in C? explain with an example.
How does pointer work in c?
Where define directive used?
What is the purpose of sprintf() function?
Can you pass an entire structure to functions?
What is bash c?
What is the difference between malloc() and calloc()?
How do you redirect a standard stream?