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 -

python - Robot Framework location and name of keyword -

Desktop Launcher for Python Script Starts Program in Wrong Path (Linux) -