Answer the following statements true (T) or false (F)

1. When you store data in a variable, it is automatically saved in a file.
2. Only one file stream object can be declared per C++ program.
3. The ios::out flag causes the file's existing contents to be deleted if the file already exists.
4. When used by itself, the ios::app flag causes the file's existing contents to be deleted if the file already exists.


1. F
2. F
3. T
4. F

Computer Science & Information Technology

You might also like to view...

_________ defines a number of techniques for key management.

A) KEP B) KMP C) SKE D) IKE

Computer Science & Information Technology

Which of the following is a process of borrowing identity information, such as an IP address, domain name, NetBIOS name, or TCP or UDP port numbers to hide or deflect interest in attack activities?

A. Ingress filtering B. Data authentication C. Network sniffing D. Spoofing

Computer Science & Information Technology

What does the UNION operator do?

What will be an ideal response?

Computer Science & Information Technology

To clean up Word HTML using Windows, you can click Clean Up Word HTML on the ____ menu.

A. Commands B. Edit C. Modify D. Site

Computer Science & Information Technology