?Which of the following is a correct C++ statement that checks to see if the file named Addresses.txt is currently open given the following C++ code?
?
ifstream addressFile;
addressFile.open("Addresses.txt");
A. ?if(is_open("Addresses.txt"))
B. ?if (addressFile.is_open())
C. ?if(addressFile.open())
D. ?if(open("Addresses.txt"))
Answer: B
You might also like to view...
What command should you use to rearrange parts of files on the drive so they are contiguous?
A. chkdsk B. format C. defrag D. shutdown
A(n) __________ risk is one that is higher than the risk appetite of the organization.
Fill in the blank(s) with the appropriate word(s).
What is a SLAAC attack?
A. This attack occurs when a rogue IPv6 firewall is introduced to an IPv4 network. B. This attack occurs when a rogue IPv6 router is introduced to an IPv4 network. C. This attack occurs when a rogue IPv4 firewall is introduced to an IPv6 network. D. This attack occurs when a rogue IPv4 router is introduced to an IPv6 network.
Pretty Good Privacy (PGP) offers strong protection for email.
a. true b. false