class complex { int code; protected: …
CBSE, JEE, NEET, CUET
Question Bank, Mock Tests, Exam Papers
NCERT Solutions, Sample Papers, Notes, Videos
class complex
{
int code;
protected:
double area; char Location[20];
public:
void Get(); void Put();
};
class Block:private complex
{
char Bcode;
public:
void BGet(); void BPut();
};
class Flat:public Block
{
int Fno,NOR;
public:
void FGet(); void FPut();
};
void main()
{
Flat F;
}
(iii)write name of data members which are directly accessible by functions of class Flat.
(iv)write names of all the data members which are accessible by object F declared in main()
Posted by Diya Koli 5 years, 5 months ago
- 0 answers
ANSWER
Related Questions
Posted by Syedali Fathima 1 year, 3 months ago
- 1 answers
Posted by Kandeepan Jothivel 1 year, 4 months ago
- 2 answers
Posted by Hanni Pham 1 year, 1 month ago
- 0 answers
Posted by Priya Shukla 1 year, 3 months ago
- 1 answers
Posted by Prawar Narang 1 year, 3 months ago
- 1 answers
Posted by Hanni Pham 1 year, 1 month ago
- 1 answers
myCBSEguide
Trusted by 1 Crore+ Students
Test Generator
Create papers online. It's FREE.
CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app