Explain the isa and hasa class relationships.
No Answer is Posted For this Question
Be the First to Post Answer
Can a new be used in place of old mallocq? If yes, why?
What are proxy objects in c++?
Do vectors start at 0 c++?
What are the conditions that have to be met for a condition to be an invariant of the class?
What is a wchar_t in c++?
How Virtual functions call up is maintained?
How do you declare A pointer to a function which receives nothing and returns nothing
What are the difference between reference variables and pointers in C++?
Can we overload operator in c++?
How does c++ structure differ from c++ class?
sir there is some problem with nokia5130c-2,when we are trying to upload movies from net then there is a error occurred"FORMAT NOT SUPPORTED" bt its all ready in 3gp format.please tell me what i do now?
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?