Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.41K
Re:
I want to assign a value to the variable x which belongs to the class X using friend function. Is there any way to assign a value, say 30 to the variable x using the friend function. I tried the following code but the output is different. [CODE]#include <iostream> #include … |