What is late binding c++?
No Answer is Posted For this Question
Be the First to Post Answer
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?
What is std namespace in c++?
Which one is a preferred language C or C++? Why?
Explain how a pointer to function can be declared in C++?
Write a corrected statement in c++ so that the statement will work properly. x + y=z;
Explain the concept of dynamic allocation of memory?
What is constructor c++?
Where and why do I have to put the "template" and "typename" keywords?
What is difference between n and endl in c++?
Is sorted c++?
What is c++ hiding?
What are activex and ole?