![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-white.png)
McqMate
Q. |
If a function doesn’t have a return statement, which of the following does the function return? |
A. | int |
B. | null |
C. | none |
D. | an exception is thrown without the return statement |
Answer» C. none | |
Explanation: a function can exist without a return statement and returns none if the function doesn’t have a return statement. |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet