0
Compile error
There is C++ task with a string of code: "char *c= "Some string"; " but in Visual Studio such note will cause a compile error. Who can explain? Why so?
2 Answers
+ 4
Can you provide us with the error message?
0
value of type "const char *" cant be used for initialization entity of type "char"
and
initialization:impossible to convert "const char [12]" to "char*"