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:
Thank you have a nice day:)
The travel agents receive compensation from suppliers such as waiting time compensation, night ride compensation, and cancellation compensation.
<u>Explanation</u>:
- The travel agents from ola, uber and other companies usually receive compensation such as 10 percent commission of booking fees. Usually, if the customer cancels the ride the travel agent will receive compensation for that ride. They also receive time compensation for their work.
- For long rides, the travel agents will receive extra compensation for that. Because the distance for that ride will be long. So they will receive these types of compensations from suppliers.
The most common drive
letter where Windows stores most data and programs is "C".<span>
<span>In the beginning the computers used to have two floppy drives
which were named as A and B. Later when hard drives added up to the
technology, it was written as "C" because A and B were floppy drives
already :) </span></span>