-
IP numbers can be represented as _________________.
-
- integers but not a string
- a string but not integers
- neither a string nor integers
- both integers and a string
- None of these
Correct Option: D
The IP addresses like 192.168.0.1 can be either stored as a string or a group of integers. Both of these forms would have their own benefits. For example, storing as a string would facilitate pattern matching.