Start here · Essential guide
Fixing the Expression Must Be a Modifiable Lvalue Error in C++
Learn what the expression must be a modifiable lvalue error means in C++, the usual causes such as constants, literals and arrays, and how to fix each one.
Strings, Containers and Memory
What lvalues are and how to fix the expression must be a modifiable lvalue error.
Start here · Essential guide
Learn what the expression must be a modifiable lvalue error means in C++, the usual causes such as constants, literals and arrays, and how to fix each one.
char* is a pointer to a char: a variable that stores a memory address. Learn how to declare it, dereference it and use it with C-style strings.
An lvalue is an expression that names an object with a location in memory, like a variable. Learn how it differs from an rvalue and why assignment needs one.
Related topics