Breyta

Deila með


Compiler Error C2101

'&' on constant

The address-of operator (&) must have an l-value as operand.

The following sample generates C2101:

// C2101.cpp
int main()
{
    int* ptr = &123;   // C2101
}