answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: 1 Write a function called hello that given a persons name as a string returns the string hello followed by the name?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering
Related questions

What module returns a value back to the part of the program that called it?

A function. You can have a function that returns but doesn't return a value with it.


What takes a value or values performs an operation and returns a result to the cell?

called function


What actually happens when function get called how the compiler is reading the next instruction after completing that function?

When a function gets called, the processor first stores the address of the calling function in a structure called activisation structure and jumps to the called function. Then it allocates the memory for the local variables and initializes them. Then it does the processing in that function. After that it deallocates the memory allocated for the local variables and returns to the calling function. When a function gets called, the processor first stores the address of the calling function in a structure called activisation structure and jumps to the called function. Then it allocates the memory for the local variables and initializes them. Then it does the processing in that function. After that it deallocates the memory allocated for the local variables and returns to the calling function.


The keyboard labeled with the letter f followed by a number are called?

Function Keys


What is pv in excell?

The PV function is a financial function. It is used to return the present value of an investment based on an interest rate and a constant payment schedule. The syntax is a follows: PV( rate, number_payments, payment, [FV], [Type] ) Rate is the interest rate for the investment. Number_payments is the number of payments for the annuity. Payment is the amount of the payment made each period. If it is omitted, you have to enter a FV value. FV is optional. It is the future value of the payments. If it is omitted, it is assumed to be 0. Type is optional. It indicates when the payments are due. Type can be one of the following values: 0 for when payments are due at the end of the period, which is the default. 1 for when payments are due at the start of the period. If the Type parameter is left out, the PV function sets the Type value to 0.


What is a good example of static?

int counter() { // This function returns how many times it has been called // Since this is a static variable, this line will only be called the first time the function is called static int count = 0; return(++count); }


How the function is called in c?

That's up to you, except for the main function, the name of which has to be main.Or, if you want to know how to call a function, it's simply by its name, followed by an argument list, eg:int main (void){puts ("I have just called function puts");return 0;}


What category in Excel returns a true or false value?

Excel has a category called Logical Functions. The IF function is the one of those that most people use and associate with returning True or False values. Other functions also return True or False values. There is a TRUE function and a FALSE function. The OR function and the AND function can be used to return True or False values too. The NOT function can reverse a True or False value, so it also returns True or False.


When a function does not return a value what kind of function is it called?

In most computer languages, a procedure that returns a value is called a function and a procedure that does not return a value is called a subroutine or subprogram. Usually the languages treat the passing of arguments/parameters differently between functions and subroutines. The C language does not distinguish between them. A subroutine that does not return a value is define as a "void" function indicating that no return value is used or available.


3 What is the difference between a function procedure and a subroutine procedure?

Both a function and a subroutine are examples of out-of-line execution calls to code. The main difference is that a function call can be part of an expression and returns a value, whereas the subroutine can be called standalone and does not return a value.


Design a function named max that accepts two integer values as arguments and returns the value that is greater of the two For example if 7 and 12 are passed as arguments to the function the function?

The function already exists in PHP and is even called max(); Otherwise use: function max ($one, $two) { return $one > $two ? $one : $two; }


Will there be a series 4 of Tracy beaker returns and is it called Tracy beaker returns?

No