A void cannot return values
B in C++ inner functions are not allowed
C is correct. you can have more than one return statements, but one is actually returned
D is also correct.
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Omar_Alesharie
3 months ago50513d6
7 months ago