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

The file stdio.h, what does it contain?

0 Answers  


what is the maximum no. of bytes calloc can allocate

4 Answers   Mphasis,


What do you mean by a local block?

0 Answers   InterGraph,


Explain what are the standard predefined macros?

0 Answers  


What's the difference between struct x1 { ... }; and typedef struct { ... } x2; ?

3 Answers  






write a programme to convert temperature from farenheit to celcius?

4 Answers   IBM,


4.weight conversion: Write a program that will read weight in pounds and convert it into grams.print both the original weight and the converted value.There are 454 grams in a pound.design and carry out a test plan for this program.

1 Answers   Wipro,


Can you assign a different address to an array tag?

0 Answers  


Two's compliment of -5

4 Answers   Adobe,


1 1 2 1 2 3 1 2 3 4 1 2 3 1 2 1 generate this output using for loop

2 Answers  


How can I invoke another program from within a C program?

8 Answers  


what is the defrenece between structure and union

5 Answers   Aloha Technology,


Categories