Is it possible for a member function to use delete this?
No Answer is Posted For this Question
Be the First to Post Answer
When is a template a better solution than a base class?
What language does google use?
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?
Define pure virtual function?
difference between c and c++?
38 Answers Cognizant, IBM, Infosys, Oracle, Sarva Shiksha Abhiyan, Wipro,
What are the uses of typedef in a program?
What is c++ 11 and c++ 14?
What is null and void pointer?
What do you mean by ‘void’ return type?
What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass
What is a constructor and how is it called?
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;