Difference between Abstraction and encapsulation in C++?
No Answer is Posted For this Question
Be the First to Post Answer
Write about an iterator class?
When is a template a better solution than a base class?
Why is c++ a mid-level programming language?
What do you mean by static variables?
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?
Differentiate between declaration and definition in C++?
What does flush do c++?
What is the stack?
What do you mean by translation unit?
What is near, far and huge pointers? How many bytes are occupied by them?
What is c++ and its features?
What is difference between c++ 11 and c++ 14?