Oct 21 2010 04:31 AM 2158 10 C question mrinal671987 How can you change the value of a constant variable in C? jbode Profile Answers by jbode Questions by jbode Nov 30th, 2010 mrinal671987: I should have checked the language standard before posting that code. Per section 6.7.3, paragraph 5, "[i]f an attempt is made to modify an object with a const-qualified type ... mrinal671987 Profile Answers by mrinal671987 Questions by mrinal671987 Oct 29th, 2010 Jbode: You are right, but this program I have also tried and it works on gcc compiler but it gives same value in Turbo C Answer Question Select Best Answer
Oct 21 2010 04:31 AM 2158 10 C question mrinal671987 How can you change the value of a constant variable in C? jbode Profile Answers by jbode Questions by jbode Nov 30th, 2010 mrinal671987: I should have checked the language standard before posting that code. Per section 6.7.3, paragraph 5, "[i]f an attempt is made to modify an object with a const-qualified type ... mrinal671987 Profile Answers by mrinal671987 Questions by mrinal671987 Oct 29th, 2010 Jbode: You are right, but this program I have also tried and it works on gcc compiler but it gives same value in Turbo C Answer Question Select Best Answer
jbode Profile Answers by jbode Questions by jbode Nov 30th, 2010 mrinal671987: I should have checked the language standard before posting that code. Per section 6.7.3, paragraph 5, "[i]f an attempt is made to modify an object with a const-qualified type ...
mrinal671987 Profile Answers by mrinal671987 Questions by mrinal671987 Oct 29th, 2010 Jbode: You are right, but this program I have also tried and it works on gcc compiler but it gives same value in Turbo C