Can a struct have a constructor in C++?

I have been trying to solve this problem but I am not getting the syntax.

16 Answers
16

Leave a Reply

Your email address will not be published. Required fields are marked *