Declare & define user defined function inside a struct as we do in class - C++ basic concepts
Q. In CPP program, Can we declare and define a user defined function inside a struct as we do in a class ?- Published on 17 Jul 15a. Yes
b. No
c. Can’t say
ANSWER: Yes