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

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -