*branch[i] points to the beginning of your string instead of the whole string. You are dereferencing branch[i] and that points to the address which prints out just the first letter of your elements branch[i] You are not dereferencing branch[i]. It goes through your string until it find a null terminating character and prints out the whole string.