Big integer theory doubt

please tell me how do i input a 50 digit number in the first place in order to carry out bigint operations

in an array of integers or even better as a string and then later on extract each character of the string and convert it to int

can you please share the code snippet for storing the 50+ digits number in array

issue i m facing is if i input it in a string , its storing ascii values

For each element use atoi or s[i] - ‘0’