CSC448: Program Analysis I: Does a Block Return Anything? I [90/133] Previous pageContentsNext page

We have seen an example of a program crashing because of a missing return statement.

How can we check that every path through a block ends with a return statement?

Previous pageContentsNext page