What is the use of return() | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

What is the use of return()

12th Dec 2021, 11:57 AM
Sohaib Haroon
3 Answers
+ 7
here is a short tutorial about functions in c language. this also covers the return statement: https://www.sololearn.com/learn/C/2929/?ref=app
12th Dec 2021, 1:22 PM
Lothar
Lothar - avatar
+ 2
https://docs.microsoft.com/en-us/cpp/c-language/return-statement-c#:~:text=A%20return%20statement%20ends%20the,value%20to%20the%20calling%20function
12th Dec 2021, 12:35 PM
Atul [Inactive]
0
Hope this helps
12th Dec 2021, 12:35 PM
Atul [Inactive]