Which of the following data types would be best for storing data representing a phone number?
A phone number is best stored as a string because it may include leading zeros, parentheses, dashes, or plus signs, which are not handled properly by numeric data types like integers or floats.
Other options:
Integer and float are numeric types unsuitable for formatted phone numbers,
Char holds only a single character.
Tora
19 hours ago