Is it possible to store a list of strings and numbers in the same vector? Explain your answer.
What will be an ideal response?
No it is not possible to store strings and numbers in the same vector. When a vector is created, you must specify the data type with the < >, such as vector
Computer Science & Information Technology
You might also like to view...
Reports are often based on forms
Indicate whether the statement is true or false
Computer Science & Information Technology
Which of the following is NOT a rule for defining names?
A) The letters C or R cannot be defined as a name. B) Spaces are valid. C) Defined name can be no longer than 255 characters. D) First letter must be a letter, underscore, or backslash.
Computer Science & Information Technology