What is abstraction with real time example?
No Answer is Posted For this Question
Be the First to Post Answer
What is a class definition?
What is the use of setfill in c++?
Which sort does c++ use?
How java is different from c and c++?
What is DlgProc?
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?
Why is main function important?
What is the best c++ compiler for windows 10?
What is a storage class used in c++?
What is the best c++ book for beginners?
What is the difference between cin.read() and cin.getline()?
How do you show the declaration of a virtual constructor?