Domanda di colloquio di Snap

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

Risposta di colloquio

Anonimo

17 dic 2024

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