Answer:
The code is not dereferencing the pointers. You have to place an asterisk in front of the pointer to read the value the pointer points to.
Explanation:
So "if (str1 != str2)" must be "if (*str1 != *str2)".
likewise:
while (*str1 != 0 && *str2 != 0)
and
result = (*str1 == *str2);
A tool which might be used by an attacker during the reconnaissance phase of an attack to glean information about domain registrations is: Whois.
<h3>What is a DNS server?</h3>
A DNS server can be defined as a type of server that is designed and developed to translate domain names into IP addresses, so as to allow end users access websites and other internet resources through a web browser.
This ultimately implies that, a DNS server refers to a type of server that translate requests for domain names into IP addresses.
In this context, we can infer and logically deduce that Whois is a tool which might be used by an attacker during the reconnaissance phase of an attack to glean information about domain registrations.
Read more on a domain names here: brainly.com/question/19268299
#SPJ1