Looking for FM121 Programming and Data Structures test answers and solutions? Browse our comprehensive collection of verified answers for FM121 Programming and Data Structures at dle.plaksha.edu.in.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
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?