may be it places the variable in read only memory On Thu, Aug 18, 2011 at 2:38 AM, bihari <[email protected]> wrote:
> How to prevent the compiler to alter the value of i in statement: > const int i=2; > Just give the idea about the implementation of const int i=somevalue; > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
