Is the ā€œfriendā€ keyword really your friend? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 9

Is the ā€œfriendā€ keyword really your friend?

21st Sep 2017, 12:03 PM
Himanshu Jaswal
Himanshu Jaswal - avatar
11 Respostas
+ 13
Savage
21st Sep 2017, 1:12 PM
Rrestoring faith
Rrestoring faith - avatar
+ 9
yaa itz my friend
21st Sep 2017, 2:01 PM
Geeta P Jerkal
Geeta P Jerkal - avatar
+ 9
Of course it is! It has access to private: parts... Of your code! šŸ˜‚
22nd Sep 2017, 5:19 AM
noobcĆøder
noobcĆøder - avatar
+ 6
friend keyword is originated from darude sandstorm which means enemy. when u use friend function,it will become enemy and will make u miss a ";" and will give u 420 errors and u will spend days trying to figure our what went wrong.
22nd Sep 2017, 1:34 AM
Mubashir Ahmed
Mubashir Ahmed - avatar
+ 6
I guess not. But the Darude Sandstorm logic is valid and holds true even underwater. If you don't believe me, you should shut your oxygen mask when you scuba dive on deeper side of ocean! šŸ˜‚šŸ˜‚šŸ˜‚šŸ˜‚
22nd Sep 2017, 5:25 AM
Apoorva Shenoy Nayak
Apoorva Shenoy Nayak - avatar
+ 5
Viva MĆ©xico caramba
22nd Sep 2017, 12:50 PM
itsnameless.dev
itsnameless.dev - avatar
+ 4
šŸ˜‚šŸ˜‚
21st Sep 2017, 2:01 PM
Himanshu Jaswal
Himanshu Jaswal - avatar
+ 4
Hello darkness my old friend...
21st Sep 2017, 5:42 PM
itsnameless.dev
itsnameless.dev - avatar
+ 4
@noob LOL šŸ˜‚šŸ˜‚
22nd Sep 2017, 5:22 AM
Mubashir Ahmed
Mubashir Ahmed - avatar
+ 4
@Apoorva works 1000% for sure šŸ˜‚šŸ˜‚
22nd Sep 2017, 5:26 AM
Mubashir Ahmed
Mubashir Ahmed - avatar
+ 3
No. It would be enemy if it is enemy
21st Sep 2017, 1:59 PM
Kartikey Sahu
Kartikey Sahu - avatar