What charactersisare needed in order to access an individual
What charactersisare needed in order to access an individual character O 0 D Question 7 1 pts This is the keyword needed to access Filin the blank: namespace O get O access O function O using D Question 8 1 pts The typedef statement is used to create an alas to an existing data type. O True O False D Question 9 1 pts Given that an enumeration type cannot be part of any input or output statements (directly such as cin you must use the folowing O switch O if/else O using dype O boolean
Solution
Q6)
Ans: []
[] : this is called subscript operator in C/C++/Java
if you want to access 3rd character from string then
use: str[2]
Q7)
Ans: using
You need to add this line to access namespace:
using namespace namespace_name
Q8)
True
Q9)
switch
Q10.
False
It throws following error:
assigning to \'PopularSport\' from incompatible type \'int\'
