KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
char **s = &"Is this valid?"; Is obtaining the address at which the address of a string literal is stored allowed in C? I know that the string literal is stored in the .rodata datasegment. However, obtaining the address of that address doesn't make sense. It should be noted that gcc compiles this and produces a working executable.
Tags (comma-separated)
Save Edits
Cancel