c - "initialization makes integer from pointer without a cast" waning in array initialization -


i starting learn c. know why warning. declared bidimensional char array, why character "d" not allowed?

char array[3][3] = {{1,"d",3},{3,2,1},{2,1,3}}; 

replace "d" 'd'

'd' character

"d" string


Comments

Popular posts from this blog

html - height not adding height to a empty div -

Oracle SQL. How to select specific IDs where value of columns specify criteria? -

python - Robot Framework location and name of keyword -