shusketh shusketh
  • 25-09-2018
  • Computers and Technology
contestada

Can someone explain what this means in pseudocode, more specifically the stuff in the perenthesis?
while (*str1 && *str1 == *str2) {
str1++;
str2++;
}

Respuesta :

JediNinja JediNinja
  • 28-09-2018

I dunno

it's very interesting as *str1 and *str1 are the same thing. I don't even know what the asterisk is for. Maybe it's just part of the variable name.

But from what I understand, it's testing if str1 is equal to str2 and adding 1 to both if the condition is true.


This could be entirely wrong, but it's better than nothing I guess.


Answer Link

Otras preguntas

The area of a rectangle is 52 inches if the length is two times the width find the dimensions of the rectangle round off your answer to the nearest hundredth
A number is 10 more than another number. Twice the sum of the two numbers is 44. Find the two numbers.
list and describe all of the kinds of political units that are a part of the United States what might be some advantages and disadvantages for the people in eac
Explain how the winter climate of the northern mountains makes it a difficult area in which to live
solve for x, need help!
3√20+2√125 this has to be done in the surds rules although I do not understand
Differentiate [tex] \frac{ {x}^{3} + 2x ^{2} }{x} [/tex]with respect to their variable.​
PLEASE HELP WITH THE SCREENSHOT BELOW
(3x+2)(x^2-4x-2) simplify the expression to a polynomial in standard form
Find the number of steel ball bearings, each of diameter 0.7 cm, which can be made from 1 kg of steel, given that 1 cm' of steel has a mass of 7.85 g.​