Answer:
void showSquare(int param){
}
Explanation:
In C++ programing language, this is how a function prototype is defined.
The function's return type (In this case Void)
The function's name (showSquare in this case)
The function's argument list (A single integer parameter in this case)
In the open and closing braces following we can define the function's before for example we may want the function to display the square of the integer parameter; then a complete program to accomplish this in C++ will go like this:
<em>#include <iostream></em>
<em>using namespace std;</em>
<em>void showSquare(int param);</em>
<em>int main()</em>
<em>{</em>
<em> showSquare(5);</em>
<em> return 0;</em>
<em>}</em>
<em>void showSquare(int param){</em>
<em>int square = param*param;</em>
<em>cout<<"The Square of the number is:"<<endl;</em>
<em>cout<<square;</em>
<em>}</em>
Answer:
A file extension or file name extension is the ending of a file that helps identify the type of file in operating systems, such as Microsoft Windows. In Microsoft Windows, the file name extension is a period that is often followed by three characters but may also be one, two, or four characters long.
Explanation:
You have to go into settings and search larger text
.
Answer and Explanation:
Recursion is a technique to solve a problem where a function in a program calls itself at specified times.
The three situations when recursion is the single option available to solve a problem are:
- When a task is required to repeat itself without the use of loop.
- When we want to take a print of the result of the functions used in the program which calls itself in the order which is reversed. This makes use of stack.
- Where the solutions are provided such that it follows the order in solving from the inner most to the outer extreme level of the tasks. As in case of recursion in deleting the files and the directories, files are deleted followed by directories.