Make C string literals const?
Read OriginalThe article discusses an initiative to make C string literals const-qualified by default in the upcoming C2y standard, similar to C++. It asks developers to provide factual feedback on their experience with such changes, using compiler flags like -Wwrite-strings, and the potential impact on existing codebases.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser