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

Answer Posted / prawin62

they directly asks for 5 digit naaa

so read that into a c[6] like that

and print c[0] thousand like that..........

Is This Answer Correct ?    32 Yes 83 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

1646


Function calling procedures? and their differences? Why should one go for Call by Reference?

623


What are different storage class specifiers in c?

611


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

1722


What are linker error?

606






find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }

1855


Explain a file operation in C with an example.

652


Describe explain how arrays can be passed to a user defined function

595


code for replace tabs with equivalent number of blanks

1629


Explain the advantages of using macro in c language?

566


Why flag is used in c?

645


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

893


How can I split up a string into whitespace-separated fields?

561


What are local static variables? How can you use them?

635


What is define directive?

631