Solved

Which of the Following Is False

Question 5

Multiple Choice

Which of the following is false?


A) To receive a list initializer as an argument to a constructor, you can declare the constructor's parameter as type list_initialier<T> where T represents the type of the values in the list initializer.
B) To receive a list initializer as an argument to a constructor, you can declare the constructor's parameter as type initializer_list<T> where T represents the type of the values in the list initializer.
C) It's not possible to pass a list initializer to a constructor.
D) (a) and (c) .

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions