Pergunta de entrevista da empresa Snap

Explain what this function does to me (at the blackboard, without any support): void func(char* a, char* b) { while(*a++ = *b++) {} }

Resposta da entrevista

Sigiloso

17 de dez. de 2024

this is a memory copy function, just copies one string variable to another