Vidyalelo
C++ Programming · Q908

C++ miscellaneous

Programming · C++ Programming · question 908

Q908

What is the syntax of declaraing a forward_list?

A.
forward_list f;
B.
forward_list<type> f;
Answer
C.
forward_list f<type>;
D.
forward_list<type,size> f;

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board