what is the difference between const volatile int i
& volatile const int j;
Answers were Sorted based on User's Feedback
Answer / suman ranjan
There is no difference between the two. The important thing
to note is what does this mean anyways.
The const type qualifier declares an object to be
nonmodifiable. The volatile type qualifier declares an item
whose value can legitimately be changed by something beyond
the control of the program in which it appears, such as a
concurrently executing thread.
An item can be both const and volatile, in which case the
item could not be legitimately modified by its own program,
but could be modified by some asynchronous process.
| Is This Answer Correct ? | 25 Yes | 1 No |
Answer / raj
There is no difference between const volatile int i and
volatile const int j
| Is This Answer Correct ? | 13 Yes | 10 No |
How can you return multiple values from a function?
How do you define a string?
Using which language Test cases are added in .ptu file of RTRT unit testing???
write a 'c' program to sum the number of integer values
Why doesnt long int work?
Is fortran still used today?
How to write a code for random pick from 1-1000 numbers? The output should contain the 10 numbers from the range 1-1000 which should pick randomly, ie ,for each time we run the code we should get different outputs.
what is a stack
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
i got 75% in all semester am i eligible for your company
WHAT IS HIGH LEVEL LANGUAGE?
Is c programming hard?