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 / 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 |
what is compiler?
a program using one dimensional array that searches a number if it is found on the list of given input numbers given by the user and locate its exact location in the list.
write a program that input four digit number and find how many 7 that number contains
Give the output of the following program main() {char *p='a'; int *i=100/*p; } what will be the value of *i= 1
Describe the elements of Microsoft Word screen. Write down steps for creating, saving, retrieving, editing and printing a document.
Who wrote stl?
HOW TO GET "H1B" -VISA 4 USA FOR MY SON?HE HAD COMPLETED "MS"(IT)FROM AUSTALIA 2007.I AM WORKING IN U.S.A.
Difference between Structure and Class in C++?
In what cases using of a 'template' is a better approach then using of a 'base class'?
6 Answers Lucent, Mind Tree, Wipro,
why does the execution of a c++ program start with main()???
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?
What are stl algorithms?