What is the correct syntax for declaring an allocator?
A. template < class T > class allocator;
B. template < class T > class;
C. template class allocator;
D. None of the mentioned
Answer:A
What is the correct syntax for declaring an allocator?
A. template < class T > class allocator; B. template < class T > class; C. template class allocator; D. None of the mentioned
Explanation:It is a type of syntax for declaring the allocater.