Question: can c structs have functions?
Answer: Member functions inside structure: Structures in C cannot have member functions inside structure but Structures in C++ can have member functions along with data members.