What is wrong in the following code?
```
#include
#include
using namespace std;
int main()
{
vector
cout << v[0];
return 0;
}
```
a. The program has a compile error on v[0].
b. The program has a runtime error on vector
c. The program has a runtime error on v[0], because the vector is empty.
d. The program has a compile error on vector
c. The program has a runtime error on v[0], because the vector is empty.
You might also like to view...
Describe the four Access macro security settings available in the Trust Center dialog box.
What will be an ideal response?
When installing a program from a disc, you are likely to have to ________
A) enter a product key to validate the software B) call the software developer to obtain a validation code C) email the seller your registration information D) text the distributor to receive an authorization number
Data moves toward and away from the CPU on the ____, whereas data travels inside the CPU on the ____
A) High bus; low bus B) Peripheral exchange; central route C) Distal data path; proximal data path D) External data bus; internal data bus
Which of the following is a reason security professionals can use a packet sniffer for?
a. To plan a DoS attack b. To capture user names and passwords c. To check if the encryption used is strong enough d. To capture sensitive documents