What is overriding in oops?
No Answer is Posted For this Question
Be the First to Post Answer
What is protected in oop?
#include <iostream> using namespace std; int main() { int a = 3; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][2]; }
where is memory for struct allocated? where is memory for class-object allocated? I replied for struct in stack and for class-object in heap. THen he asked if class has struct member variable what happens.class on heap and what about struct in that class? couldnt ans :( :-?
what is code for call by value and call by reference?
what are the ways in which a constructors can be called?
What are virtual classes?
I am developing a payroll system mini project.I used file concept in program for reading and writing.When the program is reloading into the memory that is if i execute next time the file was cleaned and adding data from the starting this is my problem.I want to strore the previous data and if i want to add any record that should be next of previous data.Please help me.
Child cObj = new Parent() Wahts the output ?
how much classes are used in c++
what is abstract class ? when is used in real time ? give a exp
What are the two different types of polymorphism?
Are polymorphisms mutations?