If a five digit number is input through the keyboard, write a
program to print a new number by adding one to each of its
digits.For example if the number that is input is 12391 then
the output should be displayed as 23402


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

Post New Answer

More C Interview Questions

main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); }

6 Answers  


is c language is a object oreinted language?

5 Answers   TCS,


whenever a question is posted in a particular category in allinterview.com, Is there any facility to receive an indication mail. For eg: I need to receive an indication email, whenever a question is posted under the category “C Langauage”.

1 Answers  


How would you obtain the current time and difference between two times?

0 Answers   TISL,


how to find the binary of a number?

10 Answers   Infosys,






what is difference between c and c++

4 Answers  


pick out the odd one out of the following a.malloc() b.calloc() c.free() d.realloc()

2 Answers   TCS, ZenQ,


i want to know aptitude questions,technical questions

2 Answers  


difference between memcpy and strcpy

1 Answers  


Why data types in all programming languages have some range? Why ritche have disigned first time likethat?Why not a single data type can support all other types?

2 Answers   Excel,


how do you execute a c program in unix.

0 Answers  


count the numbers between 100 and 300, that star with 2 and ends with 2

5 Answers   Mind Tree,


Categories