Struct Constructor in C++?

Can a struct have a constructor in C++?

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

Leave a Comment