If i want to take an input in a 2d array with each string in one row, and the next in the other(i.e. change the row on pressing enter). How can i do that in C. C doesnt seem to have convenient “String” Handling. I obviously mean doing so without the use of getchar().
Share
u can read strings using 2d array without using getchar() by putting space in scanf(” %[^\n]”)
; before %[^\n]!