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 "



write a c++ program to create an object of a class called employee containing the employee code na..

Answer / 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

More STL Interview Questions

What is stl in c++ with example?

0 Answers  


Write a program in C++ returning starting locations of a substring using pointers

1 Answers  


what's the difference between abstract class and concreate class? what's the meaning of standard template library(STL)?

6 Answers  


Diffrernce Between Overloading and Overriding?

2 Answers   Wipro,


give me the defination of inheritance?

5 Answers   Infosys,


What is Object Oriental Progam

2 Answers  


Do you like to Submit Questions in Bulk under Same Category?? Then use our Bulk ListerDo you like to Submit Questions in Bulk under Same Category?? Then use our Bulk Lister

0 Answers  


Who wrote stl?

0 Answers  


What two types of containers does the stl provide?

0 Answers  


Explain References in C++

3 Answers  


Explain when u will use Observer pattern and how u will implement in c++ .

1 Answers  


Which data structure gives efficient search? A. B-tree B. binary tree C. array D. linked list

21 Answers   ABC, Sun Microsystems,


Categories