Шукаєте відповіді та рішення тестів для FM121 Programming and Data Structures? Перегляньте нашу велику колекцію перевірених відповідей для FM121 Programming and Data Structures в dle.plaksha.edu.in.
Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!
Which of the following is FALSE about friend functions?
If a class B is declared as a friend of class A, then:
A friend function is not a member of the class(True/False)?
The operator is commonly overloaded to print object data using cout.
Which of the following cannot be friend?
Consider this code sequence:
Wallet w1(100, 50); Wallet w2; w2 = w1; // Line 1 Wallet w3 = w1; // Line 2
Which statement is correct?
const Wallet* const ptr = &myWallet;What happens when you try to execute this code?
int x = 20, z = 30; int &n = x; n = z; // This line
Student and Faculty both have private member int id. If a Student object tries to access the id of a Faculty object within a Student member function, what happens?