Skip to content

Instantly share code, notes, and snippets.

View whb07's full-sized avatar

william bright whb07

View GitHub Profile
// 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';
};