Question: Suppose, you are given a 3-digit integer n and a digit d. Write a c program to build another integer r where d is inserted
Suppose, you are given a 3-digit integer n and a digit d. Write a c program to build another integer r where d is inserted in front of n. For example if n = 532 and d = 8, then r will be set to 8532. Finally print the value of r.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
