I’ve an array, which contains such numbers, like 0221, 0223, etc. What type of data I can use there? If I try to use long or int, it shows that after every number first 0 need to write comma. Array looks like there:
TYPE? isAvailable[] = {0221, 0223};
If you want without comma but with leading zero and you want to store it as such in the array, I think you can only use
string. If you don’t mind about storing the leading zero, and the format is always 4 characters, you can useintand when showing the numbers, format them accordingly