write a c program to calculate sum of digits till it reduces
to a single digit using recursion


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

Post New Answer

More C Interview Questions

difference between spiral and waterfall model

1 Answers  


What is the output of printf("%d", printf("Hello"));?

1 Answers  


what is the function of .h in #include<stdio.h> in c ?

23 Answers   HCL, IBM, Wipro,


2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier. &#61550; Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed. &#61550; When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed. &#61550; Sequence of take-off is the sequence of addition to the waitlist

0 Answers  


What is data type long in c?

0 Answers  


void main() { char far *farther,*farthest; printf("%d..%d",sizeof(farther),sizeof(farthest)); }

3 Answers   ME, pspl,


WHAT IS MAXIMUM SIZE OF AN ARRAY IN C LANGUAGE?

8 Answers   Carphone Warehouse, IBM, SAS,


Write a program to print distinct words in an input along with their count in input in decreasing order of their count

0 Answers  


Write a factorial program using C.

0 Answers   iNautix,


What is binary tree in c?

0 Answers  


Without Computer networks, Computers will be half the use. Comment.

0 Answers  


Why main is used in c?

0 Answers  


Categories