Advertisement

04.01.2008 at 11:30PM PDT, ID: 23288255
[x]
Attachment Details

const and volatile

Asked by prasad2315 in C Programming Language

I want to declare a variable to be volatile and const
just like this
int volatile conts *p= ...
so  in this case i cannot change *p value
buti have declared it as volatile
how is it possible that *p is still constant after decalring it as volatileStart Free Trial
[+][-]04.01.2008 at 11:44PM PDT, ID: 21260598

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.02.2008 at 02:10AM PDT, ID: 21261214

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.02.2008 at 02:11AM PDT, ID: 21261226

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: C Programming Language
Sign Up Now!
Solution Provided By: Infinity08
Participating Experts: 3
Solution Grade: A
 
 
[+][-]04.02.2008 at 03:57AM PDT, ID: 21261639

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.03.2008 at 07:20PM PDT, ID: 21278610

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628