Ask Question

Examine the following piece of code and determine the data type of the function's return value.

Function Real sum (Integer num1, Integer num2)

Declare Integer result Set result = num1 + num2

Return result

End Function

+1
Answers (1)
  1. 23 December, 08:09
    0
    The data type of the return value is Integer

    Explanation:

    Integer type follows the declare keyword, it is expected that the sum of two integers to be an integer too.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Examine the following piece of code and determine the data type of the function's return value. Function Real sum (Integer num1, Integer ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers