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

Which of the following molecules is classified as a carbohydrate?
What purpose do executive Order serve?​
Can someone help me with this pls?
I felt approaching footsteps. I stretched out my hand as supposed to my mother. Someone took it, and I was caught up and held close in the arms of her who had c
Why can’t I be taught how to control panic attacks instead what George Washington’s favorite meal? Why is it that we are taught to smile but in reality we all c
Hello people can someone help me I'm into this person and I sent him a picture of my self and he said ''You honestly don’t look that bad'' can someone please te
Present a way out to effective conflict management , if conflict is created between a family and a neighbour . Prepare a list of its impact .
Mention 7 organic compound from plant origin​
A. An element with the valence electron configuration 5s1 would form a monatomic ion with a charge of ______In order to form this ion, the element will ____ ___
Que soy si naci en estados unidos pero me crie en mexico?????? Pregunta seria