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
What is meant by initialization and how we initialize a variable?
Can we increase size of array in c?
What is scanf () in c?
What is the use of function overloading in C?
What is default value of global variable in c?
what is out put of the following code? #include class Base { Base() { cout<<"constructor base"; } ~Base() { cout<<"destructor base"; } } class Derived:public Base { Derived() { cout<<"constructor derived"; } ~Derived() { cout<<"destructor derived"; } } void main() { Base *var=new Derived(); delete var; }
How can I invoke another program from within a C program?
What is advantage of pointer in c?
i want to asked a question about c program the question is: create a c program that displays all prime numbers less than 500? using looping statement
What will be the output of the following program #include<stdio.h> void main() { int i=20; i-=i+++++i++; printf("%d",i); }
Describe the order of precedence with regards to operators in C.
helllo sir , what is the main use of the pointer ,array ,and the structure with the example of a programe