write a c++ program to create an object of a class called
employee containing the employee code name designation basic
salarry HRA Da gross salary as data 10 such objects "members
process "

Answer Posted / ray baboo yadav

#include<iostream.h>
#include<conio.h>
class person
{
int person;
float salery;
}p;
cout<<"enter the person name";
cin>>p.person;
cout<<"enter the salery";
cin>>p.salery;
}
void main()
{
person;
getch();
}

Is This Answer Correct ?    6 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How stl is different from the c++ standard library?

729


When did c++ add stl?

836


What is the stl, standard template library?

678


What is stl language?

751


What is a standard template library (stl)?

732






What is stl stack?

748


how can u do connectivity in c++ language? plz send me connectivity code in c++ ?

1997


How do I convert a stl file?

646


What do stl stand for?

751


What are the various types of stl containers?

832


i wanted to know about questions about c,c++ , which is required for placements.... im a fresher

1796


Is stl open source?

720


What are the symptoms of stl?

700


Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.

1737


How is stl different from c++ standard library?

847