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.
Onita
4 months agoLaura
4 months agoTimothy
4 months agoJeanice
4 months agoNana
5 months agoHector
5 months agoJutta
5 months agoSelma
5 months agoThaddeus
6 months agoPearline
6 months agoDorathy
6 months agoChi
6 months agoJeannetta
6 months agoLawana
9 months agoDarrin
9 months agoCheryl
10 months agoIvette
9 months agoPeggy
9 months agoMicheal
10 months agoCaprice
10 months agoAlona
8 months agoLanie
8 months agoTabetha
9 months agoLachelle
9 months agoElizabeth
9 months agoIrving
10 months agoEvangelina
9 months agoCarmen
10 months agoThurman
10 months agoTora
10 months ago