The difference between functions with return and without return:

Правка en1, от pokpong007, 2025-09-08 20:51:40

A function with return value uses return to send a result back, so you can store it in a variable or use it further.

A function without return value has no return (or doesn’t send data back), so it just runs and ends.

Теги beginner

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский pokpong007 2025-09-08 20:57:57 167
en1 Английский pokpong007 2025-09-08 20:51:40 284 Initial revision (published)