Given a function definition within a project as such:
If string pointer sees anything other than a null, would it return a boolean true within the while loop condition? And is null character equivalent to a boolean false?Code:void usart_str_write(const char* string) { while (*string) Usart_Write(*string++); }
Thanks.