a) forward_list f;
b) forward_list<type> f;
c) forward_list f<type>;
d) forward_list<type,size> f;
1 thought on “ What is the syntax of declaraing a forward_list?”
Leave a Comment
You must be logged in to post a comment.
a) forward_list f;
b) forward_list<type> f;
c) forward_list f<type>;
d) forward_list<type,size> f;
You must be logged in to post a comment.
b
Explanation: forward_list f; is the correct syntax of declaring a forward-list.