When a program is finished using a file, it should do this.
a. erase the file
b. open the file
c. close the file
d. encrypt the file
Ans: c. close the file
You might also like to view...
If a number is formatted with the D3 formatter, it means that:
a) the number has to have at least three digits even if they are zero b) the number has a dollar sign and is at least three digits long c) creates each number in three dimensions d) it is an error
[C++11]: Which of the statements a), b) and c) is false?
a. C++11’s
Answer the following statements true (T) or false (F)
1. An unnamed namespace provides a facility for collecting names that are local to the file where the unnamed namespace is located. Such names are available in that file, and are unavailable in any other file. 2. A function defined inside an unnamed namespace requires qualification. 3. You can use the static qualifier with a global function, class or variable to get the same effect as an unnamed namespace. 4. In a particular file, the names from the global namespace and names from an unnamed namespace defined in the file are accesses the same way: by writing the name.
Answer the following questions true (T) or false (F)
1. An array behaves like a list of variables each of which is of the same type and for which there is a uniform, convenient naming convention that can be declared in a single line of code. In the explanation, give an example of declaration and access. 2. With arrays, indices start at any number the programmer chooses to indicate in the definition.