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!
Friend function in c++:
class miles;
class km
{
float value;
public :
// void input();
km convert(km ,int a ) ;
void output()
cout << value;
}
};
km km :: convert(km a,int b)
a.value = b * 1.61;
return a;
class miles
int value;
public:
void input()
cout << "Enter the value\n";
cin >> value;
friend km & convert(km &,miles);
km & convert(km & a,miles b)
a= b.value * 1.61;
void main()
km a;
miles b;
clrscr();
b.input();
a= convert (a,b);
a.output();
getch();
What is Ms dos?
Asks the user for an integer. if the number is less than 21, ask them for a number again; repeat this until you get a number bigger than 20. 20 is not an acceptable number. Once yo
Program which can check the given string is super ascii or not
Pure Virtual Functions An abstract class is one, which is used just for deriving some other classes. No object of this class is declared and used in the program. Likewise, ther
What is algorithm
At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers
Write a function to determine whether a number is prime: it will return true if the input is prime and false otherwise. Use it to see whether -7 is prime.
E v o l u t i o n of Software: In the past stage of programming the software's were developed in Machine language Using binary numbers 1's and 0's. Later it convert
Memory Management Operator In C malloc( ), calloc( ), realloc( ), and free( ) are used to mange dynamic memory. In addition to these function C++ have derived two unary ope
Structure of C++ Program: Chronological order of C++ program. 1. Class declaration 2. Main function program 3. Member functions definitions 4. Include heade
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