Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

which one low Priority in c? a)=,b)++,c)==,d)+

10 Answers  


What is pointer in c?

0 Answers  


Why is c called c not d or e?

0 Answers  


which is the best antivirus and how to update it

7 Answers   Infosys,


Which of these functions is safer to use : fgets(), gets()? Why?

0 Answers  






What happens if a header file is included twice?

0 Answers  


hello friends what do u mean by BUS ERROR i got this error while i am doing my program in DATA STRUCTURES

2 Answers   Wipro,


write a program to find out prime number using sieve case?

0 Answers   HCL,


Why is a semicolon (;) put at the end of every program statement?

0 Answers  


we compile c program in 32 processor and 64 bit processor .exe file is created in both the processors. if we want to run .exe file in 64 bit processor which is created in 32 bit processor. is that .exe file is run or not if it is not run why?

4 Answers   HP, Wipro,


Define a structure to store roll no, name and marks of a student. Using the structure of above write a ‘C’ program to create a file “student.dat”. There must be one record for every student in the file. Accept the data from the user.

0 Answers  


Which is the best website to learn c programming?

0 Answers  


Categories