[cs13001] What is the_root ?

Mikhail Nesterenko mikhail at cs.kent.edu
Tue Sep 25 18:59:48 EDT 2012


> 
> I wanted to run this by you and ask a question:
> 
> the_root = sqrt(9.0)
> 
> I know that sqrt(9.0) is the function invocation, and 9.0 is the
> argument, and 3.0 would be the value returned. But what exactly is
> the_root? I'm not sure if it's an identifier or not.

the_root is a variable that is assigned the value that function sqrt() returns.

> And the second question is, for something to be considered a
> function invocation, does it have to be either a predefined function
> or a programmer defined function? Or only one of them? Or can it be
> something else entirely?

function invocation (also known as function call) is a request to
execute the function code by another function. Both programmer
defined and predefined functions are invoked.

Thanks,
-- 
Mikhail


More information about the cs13001 mailing list