What is a valid definition for the get_length function, which returns the length of a null-terminated string?
get_length
int get_length(char *str) { int count=0; while(str++) count++; return count; }
int get_length(char *str) { int count=0; while(str[count++]); return count-1; }
int get_length(char *str) { int count=0; while(str!=NULL){ count++; str++; } return count; }
int get_length(char *str) { int count=0; while((*str)++) count++; return count; }