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

Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

0 Answers  


Write a program to print fibonacci series using recursion?

0 Answers  


what is object oriental programing?

1 Answers  


Software Interview Questions

1 Answers   CAT,


Write a c program to demonstrate Type casting in c?

2 Answers  


What is keyword with example?

0 Answers  


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

0 Answers   InterGraph,


What are the scope of static variables?

0 Answers  


What is 2c dna?

0 Answers  


What are pointers?

0 Answers   Accenture, Tavant Technologies, Zensar,


hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .

0 Answers   Aegis, CDAC, Infosys,


#include<stdio.h> void main() { int a [5]; for (i=0; i<=4; i++) printf(“%d” ,a[i]); }

8 Answers  


Categories