Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Define a structure in C++:
Write a program a structure in c++ program.
void main()
{
struct player
char name[20];
int age,height;
} ;
struct player p[3];
int i,j,k;
clrscr();
for (i=0;i<=2;i++)
printf("Enter the name of player %d ,age %d,height %d\n",i+1,i+1,i+1);
scanf("%s %d %d",p[i].name,&p[i].age,&p[i].height);
}
printf("%s %d %d\n",p[i].name,p[i].age,p[i].height);
getch();
find the greater of the two variables, without using conditional loops or ternary operators?
Define a class? A: It is an expanded concept of a data structure: rather than holding only data, it can hold data and functions both.
Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send
A r r a y s w i t h i n a c l a s s: I t i s j u s t d ecl a r i n g o r c on s t ru c ti n g a d e r i v e d t
A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome
Can I explicitly call a destructor if I've allocated my object with new?
WAP TO ACCEPT MARKS OF THREE SUBJECT FOR STUDENT & CALCULATE TOTAL MARKS AND PERCENTAGE #include stdio.h> #include conio.h> void main() { int M1,M
Explain U s e r - D e f i n e d D a t a T y p es? C has Union and Structure as user-defined data types. C++ has class which looks like structure with a
syntax
Conversion between Objects of Different Classes As the compiler does not know anything about the user-defined type, the conversion instructions are to be specified in a functio
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd