Which of these data types can be used for a method having a return statement in it?
(a) void
(b) int
(c) float
(d) all of the mentioned
I have been asked this question in a job interview.
Question is from Method with Parameters in portion Namespaces, Preprocessors and Networking of C#