Can we inherit constructor in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What is the cout in c++?
Which of the following operator cannot be overloaded?
class base { public: int fun(int) {} }; class base2 { public: int fun(float) { } }; so here qustion is both function either function overloading or over riding;
What is virtual base class?
Write a program to calculate the BMI of a person using the formula BMI = weight/height2.
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 c++ still best?
Write a note about the virtual member function?
What is the type of 'this' pointer?
Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL
Does improper inheritance have a potential to wreck a project?
How do you add an element to a set in c++?