[HN Gopher] Make C string literals const?
       ___________________________________________________________________
        
       Make C string literals const?
        
       Author : ingve
       Score  : 13 points
       Date   : 2025-04-06 20:02 UTC (2 hours ago)
        
 (HTM) web link (gustedt.wordpress.com)
 (TXT) w3m dump (gustedt.wordpress.com)
        
       | Dwedit wrote:
       | Wait, C string literals are not already const? On many platforms,
       | they live in a read-only data section, which is write-protected
       | memory.
        
         | iknowstuff wrote:
         | Doesn't the first paragraph address this?
        
       ___________________________________________________________________
       (page generated 2025-04-06 23:00 UTC)