Answer:
nothing
Explanation:
Because the return type of the function is void. void means does not return any thing.
The syntax of the function:
type name( argument_1, argument_2,......)
{
statement;
}
in the declaration the type define the return type of the function.
it can be int, float, double, char, void etc.
For example:
int count( int index);
the return type of above function is int. So, it return integer.
similarly,
void count(int index);
it return type is void. So, it does not return any thing.
Answer:
The output is:
R
M
N
Explanation:
The code snippet print the beginning letter of each word in the given name.
In the for loop snippet:
first the program check if startWord is true and it is true, then it print the value of the character at index 0. Then it check if value of character is empty. If it is empty, startWord is initialized to true else it is initialized to false.
The loop only print a character when the value of i are 0, 8 and 11 which are also the beginning character of a word.
<span>Correct Answer:
A. FireWire</span>