if i enter ' abcd11221 ' through the keyboard into a sting, why does '11221' also get saved in the string? because a string can only contain characters as a string is a group of characters in continuation in memory, how can numbers be part of it? And on printing the string even the numbers get printed as they were entered, that tells us that the numbers are not converted to their ascii correspondents
No comments:
Post a Comment