prefixed variable

noun
UK /ˈpriːfɪkst ˈveəriəbl/
US /ˈpriːfɪkst ˈveriəbl/

A prefixed variable is a variable with a short tag added to the front of its name.

In the code, the prefixed variable strName tells you the value is a string.


OTHER MEANINGS

2. A variable whose name begins with a scope or type indicator such as m_ or int.

The prefixed variable m_count shows that count belongs to the class.

3. A placeholder in a template that starts with a special symbol like $ or %.

The prefixed variable $user is replaced with the actual username.

4. A programming name that carries extra meaning through its leading characters.

Using a prefixed variable like bIsReady makes the boolean type obvious.