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);
Answer: <u>Channel 16</u>. If you hear a MAYDAY call, remain silent, listen, and write down information about the boat in distress.
Hope this helps!
void minMax(int a, int b, int c, int*big, int*small)
{
if(a>b && a >c){
*big = a;
if(b>c)
*small = c;
else
*small = b;
}
else if (b>a && b>c){
*big = b;
if(a>c)
*small = c;
else
*small = a;
}
else{
*big = c;
if(a>b)
*small = b;
else
*small = a;
}
}
Answer:
Positive media attention can transform communities in unexpected ways.
Explanation:
According to the given excerpt, it is narrated that Kathleen wrote about a town called Abbston that was recently overwhelmed by tourists as a result of the news article by a TV travel editor who wrote about the town.
Therefore, the best concluding sentence for the paragraph would be that positive media attention can transform communities in unexpected ways.