Who discovered c++?
No Answer is Posted For this Question
Be the First to Post Answer
How can I disable the "echo" feature?
Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?
Do you know what are static and dynamic type checking?
What is c++ try block?
What is the use of this pointer in c++?
1.what is the difference between software & package &application.
What is c++ good for?
How do you remove an element from a set in c++?
Can you think of a situation where your program would crash without reaching the breakball, which you set at the beginning of main()?
What compiler was used?
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 are prototypes