+ 1

Friend functions in c++

I have tried out some code related to friend functions, but am stuck up...Please check out https://code.sololearn.com/cQ2vXX3gk2KP/?ref=app

29th Dec 2021, 1:57 PM
Sanjay Kamath
Sanjay Kamath - avatar
3 Respostas
0
line 42, you've declared a pointer but not assigned a value (an address) to it
29th Dec 2021, 5:23 PM
rodwynnejones
rodwynnejones - avatar
+ 2
rodwynnejones how do you do that?
29th Dec 2021, 6:15 PM
Sanjay Kamath
Sanjay Kamath - avatar
+ 1
rodwynnejones i de-vised (revised) a better solution....Thanks anyways....
30th Dec 2021, 1:48 AM
Sanjay Kamath
Sanjay Kamath - avatar