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 are the components of stl?

0 Answers  


write a program that input four digit number and find how many 7 that number contains

4 Answers  


Who created stl?

0 Answers  


What is the disadvantage of templates ?

2 Answers   NSN, Symphony,


what is a template?

2 Answers   Amazon, BITS, IBS, Wipro,






Define stl.

0 Answers  


What do you mean by stl?

1 Answers  


write a program that will accept a number and print.its equivalent in words the maximum input number is 9999

0 Answers  


How connect plc and pc through software

0 Answers  


Can we use stl in coding interviews?

0 Answers  


I am doing my BS.c MATHS CAN I ABLE TO JOIN IN NIIT?

2 Answers  


write a piece of c++ code which allocate memory to the 50 object of type CObj

2 Answers  


Categories