Computer Science, asked by uday4391, 1 year ago

What TYPES of return values are allowed?

Answers

Answered by Anonymous
0
A return value can be any one of the four variable types: handle, integer, object, or string. The type of value your function returns depends largely on the task it performs.

HOPE HELPS ✌️✌️
Answered by Anonymous
0

In computer programming, the return type (or result type) defines and constrains the data type of the value returned from a subroutine or method. In many programming languages (especially statically-typed programming languages such as C, C++, Java) the return type must be explicitly specified when declaring a function.

Similar questions