What is else syntax in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What is meant by the term name mangling in c++?
When does the c++ compiler create temporary variables?
What is lambda in c++?
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 null and void pointer?
What is the difference between public, private, protected inheritance?
What is a tuple c++?
Is c++ the best programming language?
Should I learn c or c++ first?
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
List the types of polymorphism in c++?
What is the difference between const and constexpr?