1.

IP numbers can be represented as _________________(a) both integers and a string(b) a string  but not integers(c) integers but not a string(d) neither a string nor integers

Answer» Correct choice is (a) both integers and a string

Best explanation: 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.


Discussion

No Comment Found