1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Functions that return Lvalues
|
||||||||||||
int main() { |
||||||||||||
// Sets a[4] = 7 |
||||||||||||
This is also useful for overloading operators; operator= for type T would be of type T&. |
||||||||||||
22-Mar-98 |
Page 14 |
C201/TAM |