Answer Posted / ankur

the data abstraction defining the essential features without
representing the background detail.

class result
{
int marks;
float percentage;
char name[40];
void input();
void output();
}

void main()
{
bank b1;
b1.input();
b1.output();
}
the other example in student detail we just use the
stu_id,stu_branch,stu_clg, we we'll not represent it 's
backgroung as,who is the mother of student,etc thing .

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the basic of c++?

804


What are the advantages of c++?

1297


Can I learn c++ without c?

890


What is scope in c++ with example?

836


Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.

1047


Is map ordered c++?

826


What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.

798


Does improper inheritance have a potential to wreck a project?

876


what is VOID?

826


What are function prototypes?

979


Tell me an example where stacks are useful?

782


What do you mean by public protected and private in c++?

790


What is implicit pointer in c++?

812


Write about c++ storage classes?

968


What is the basic difference between C and C++?

842