Tuesday 21 October 2008

Difference between prototypes

Wats the difference between prototypes
- T &operator[](size_t index);
- const T &operator[](size_t index) const;

?

1 comment:

Vishnu said...

First one is array assignment and second one is accessing the array value.