What is wrong in the following code?
```
vector
v[0] = 2.5;
```
a. The program has a compile error because there are no elements in the vector.
b. The program has a runtime error because there are no elements in the vector.
c. The program has a runtime error because you cannot assign a double value to v[0].
d. The program has a compile error because you cannot assign a double value to v[0].
b. The program has a runtime error because there are no elements in the vector.
You might also like to view...
Margin settings typically apply to an entire document and are changed using the Page Setup group on the ____________________ tab.
Fill in the blank(s) with the appropriate word(s).
The ________ is the software that is run on a device that is going to be managed
A) SNMP manager B) SNMP agent C) Syslog agent D) Syslog manager
The Caesar Cipher can be used to decode its messages.
Answer the following statement true (T) or false (F)
Which of the following is not a content provider in the android.provider package?
a. UserDictionary b. Settings c. ContactList d. VoicemailContract