I have a 4 digit decimal number say 1234. I want to split this number into 4 separate ASCII values like ‘1’,’2′,’3′,’4′.
The process should not include division operation or integer to string conversion etc.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You want to extract each digit of the number and add ‘0’. If this is against your requirements, feel free to ignore.