March 14th, 2013, 05:35 AM
How to get 20 digits decimal ?
Hi to all,
how to get 20 digits decimal number using String?After get 20 digits decimal number i have to separate as 8 digits ,6 digits ,6 digits,(8+6+6 = 20 digits) and store in separate strings ?????
Example 20 digit number: 12345678914725836945
thanks in advance..
March 14th, 2013, 05:48 AM
It is entirely unclear what your question is.
Are you asking how to split a 20 character string into three strings of fixed length, or are you asking how to form a 20 character string from the the strings A, B, C, or something else altogether?
Perhaps your current attempt in code might clarify what you are trying to do.
March 16th, 2013, 10:40 AM
get 20 digit decimal means u want it using scanf????
then u take input in loop.
to divide it u can use scrncpy function.