Home:ALL Converter>How to convert a char* into const char* in C

How to convert a char* into const char* in C

Ask Time:2020-04-21T19:13:01         Author:KazzioBots

Json Formatter

Is there any way to convert a char* into a const char* in the C language? I use CodeBlocks as my IDE for Windows. I heard that it isn't possible to do this in basic C. Is that true?

Author:KazzioBots,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/61342178/how-to-convert-a-char-into-const-char-in-c
yy