Can we define functions in structs in C programming language?
No.
You can have function pointers in structs, but that's as close as you'll get.