The Difference Between char str* And char str[]
When we define str_1, the compiler creates a character array large enough to hold the string "hello world", which is an immutable string ...
When we define str_1, the compiler creates a character array large enough to hold the string "hello world", which is an immutable string ...
gets is a deprecated function which can cause buffer overflows, use fgets insted.