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

Where static variables are stored in c?

581


What is multidimensional arrays

622


Can you please explain the difference between strcpy() and memcpy() function?

593


Write the control statements in C language

639


What is a pointer in c?

677






Why double pointer is used in c?

559


Why does not c have an exponentiation operator?

620


What is indirection? How many levels of pointers can you have?

650


What is the maximum length of an identifier?

657


What is omp_num_threads?

570


What is a char in c?

548


How can I find out the size of a file, prior to reading it in?

610


What do you mean by recursion in c?

615


What is sizeof array in c?

588


Do you know the difference between malloc() and calloc() function?

601