What is the use of dot in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between a template and a macro?
The "virtual" specifier in a member function enables which one of the following? a) Monmorphism b) Late binding c) Metamorphism d) Solomorphism e) Inheritance
How can you find the nodes with repetetive data in a linked list?
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?
What is a dynamic binding in c++?
What are the unique features of C++.
What is the full name of logo?
What is meant by reference variable in C++?
Differentiate between an inspector and a mutator ?
What is a base class?
i want the NIC programmer-B model papaer pattren, iwant the all model papers?
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?