Answer:
The source code and output is attached
I hope it will help you!
Explanation:
The size declarator indicates the number of elements, or values, an array can hold.It is used in a definition of an array.<span>The size declarator must be a constant integer expression with a value greater than zero. </span>A subscript is used to access a specific element in an array.
Answer:
ifstream inputFile;
inputFile.open("Friends.txt");
Explanation:
Though, the programming language is not stated, questions like this are often from C++.
The first statement defines the ifstream object using the following syntax.
ifstream [object_name]
In this case, the object name is inputFile
So, the syntax becomes
ifstream inputFile;
The next line opens a file using the following syntax.
[object_name].open("Filename")
Here, object_name is inputFile and filename is Friends.txt
So, the open statement becomes
inputFile.open("Friends.txt")
Answer: Ctrl + R
Explanation:
Ctrl+ R is the shortcut for filling right, you will first highlight cells.