Explain the purpose of the keyword volatile.
No Answer is Posted For this Question
Be the First to Post Answer
Why do we need c++?
Refer to a name of class or function that is defined within a namespace?
Why is c++ still best?
What is pointer with example?
1)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea += sizeof(int); } return 0; } 2)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea ++; } return 0; } The output of this two programs will be different why?
When is dynamic checking necessary?
How does the copy constructor differ from the assignment operator (=)?
What do you mean by volatile and mutable keywords used in c++?
What's c++ used for?
Differentiate between a deep copy and a shallow copy?
Define pre-condition and post-condition to a member function in c++?
What does flush do c++?