Answer:- Major property of a good hash code is that objects which are equal should return the same hash code .
Explanation: Hash codes is a numeric value which is used for identify a object while a equality testing .Hash code can occupy the value of any length and then returns a fixed length value. The value of hash codes are variable.
If two objects are equal then by the method of equal(object) if the hashcode() function is called on both the objects , they produce the same value.
Answer:
The strlen() function calculates the length of a given string.The strlen() function is defined in string.h header file.
Explanation:
It doesn’t count null character ‘0’. Syntax: int strlen(const char *str); Parameter: str: It represents the string variable whose length we have to find. Return: This function returns the length of string passed.
192.168 suggests class C networks which have a 24 bit netmask (255.255.255.0) but you haven't provided enough info, like the netmask of a working machine, to be definite.
Both yeah and no, depending on personal opinion