This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Allowed manner of interacting with arrays | |
// where returning an array by value from a function isn't allowed | |
unsigned char buffer[10]; | |
// pass in a pointer to the initialized array you want to mutate | |
void hiBuffer(unsigned char *buff){ | |
buff[0] = 'h'; | |
buff[1] = 'i'; | |
}; |
NewerOlder