why are we doing like this : char words[][10] = {…}
instead of normally using char words[10] = {…} ?
why are we doing like this : char words[][10] = {…}
instead of normally using char words[10] = {…} ?
@Manvik-Arya-4391661007540658 if you make a 1d array then you can only store a character at each posn but you have to store whole words like zero at each position.
i hope its clear if yes dont forget to hit like and mark resolved