Q:

Given the following function header: function [x, y] = calcem(a, b, c) Which of the following function calls would be valid – and why?

0

Given the following function header:

function [x, y] = calcem(a, b, c)

Which of the following function calls would be valid – and why?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

[num, val] = calcem(4, 11, 2)

VALID - everything matches up (function name, # of input 

and output 

arguments)

result = calcem(3, 5, 7)

VALID – but – one output argument will be lost

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now