What is different between return & return not? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

What is different between return & return not?

6th Oct 2021, 7:03 PM
xvxvx
xvxvx - avatar
5 Réponses
+ 1
Your question seem unclear return not will make your condition opposite suppose u written like this return !0; it will return 1 Is it or you asking for without return type void
6th Oct 2021, 7:14 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 2
What is not return?
6th Oct 2021, 7:08 PM
A͢J
A͢J - avatar
+ 1
Sorry i mean return not
6th Oct 2021, 7:10 PM
xvxvx
xvxvx - avatar
0
It is Ok thanks
6th Oct 2021, 7:15 PM
xvxvx
xvxvx - avatar
0
Return is for returning a below from a function. If you don't use return, you won't return a value from the function. Simple =)
7th Oct 2021, 2:28 AM
Rishi
Rishi - avatar