String literals vs const char* in C

前端 未结 5 1652
傲寒
傲寒 2020-12-09 20:25

Why don\'t ANSI C compilers flag the use of a string literal argument in a function call in which the correponding parameter does not have a const qualifier? For example,

5条回答
提交回复
热议问题