Answer:
1. Void changeLetter( char &ref )
{
If( isalpha(ref) )
{
Ref++;
}
}
2. changeLetter( ch );
3. changeLetter( chAr[1] );
4. n = 10;
5. fn( num );
6. (B) the number of chars in an array of char not including the null.
Step-by-step explanation:
Functions are blocks of codes in any programming language. In C++, a void function is a function that does not return a value, while other types of functions have a return statement. There are three ways to pass an argument to a function in C++, by value, by reference and by pointer.
When a variable argument is passed as a value to a function, the value of that variable cannot be altered by the function, but when it is passed as a reference or a pointer, it can be altered.
To call a function in C++, specific the function name and the opening and closing parenthesis with the required arguments in between. The call must end with a semi-colon.