What does it mean to declare a destructor as static?
No Answer is Posted For this Question
Be the First to Post Answer
What is c++ library?
What is the main purpose of overloading operators?
What are separators in c++?
Can a class be static in c++?
What is the advantage of c++ over c?
What do you mean by storage classes?
give me some class & objects examples?
Is c++ a low level language?
What is the purpose of the noexcept keyword?
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?
Const char *p , char const *p What is the difference between the above two?
What jobs can you get with a c++ certification?