What is virtual destructor ans explain its use?
No Answer is Posted For this Question
Be the First to Post Answer
What is c++ vb?
sir i want to study the c++ course but ino what is the qualification and the study methode please reply more details in c++
Which sort does c++ use?
Is c or c++ more useful?
Define the operators that can be used with a pointer.
How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
Describe the setting up of my member functions to avoid overriding by the derived class?
What are the operators 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?
Difference between pointer to constant and constant pointer to a constant. Give example.
Discuss the possibilities related to the termination of a program before entering the mainq method?
There is a array of 99 cells and we have to enter 1-100 elements in it , no two elements would repeat , so the is one no. missing because 99 cells and 1-100 nos. so we had to implement a function to find that missing no.