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 |
give me the defination of inheritance?
What is a list in c++ stl?
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.
Is stl open source?
Give two integer arrays A & B.A has n elements and B has ' n-1 ' elements . A has all the elements that are there in B. But B has one missing element. Write a function that takes arrays , A & B as imnput and finds the missing element in most optised manner .
what is use of for loop?
Is there any error below, its a code to delete all entires from a map #include <map> #include iostream.h int main() { int i =0; map <int, char> TestMap; while(i<3) { TesMap.insert(TestMap::value_type(i,Test)); i++; } typedef map<int, char> :: iterator mapIter =TestMap.begin(); if(mapIter!=TestMap.end()) { TestMap.erase(mapItrer); ++mapIter; } return 0; }
what is compiler?
how to making game in c++ ?
What do stl stand for?
What is stl in c++ with example?
wap in c++ which accept a integer array and its size as argument and replaces element having even values with its half and element having odd values with twice its value