Click here to Skip to main content
15,888,218 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can a control flow graph contain multiple start and end nodes? If so, what will happen when multiple start and end nodes contain in a control flow graph? Thanks in advance

What I have tried:

I tried googling but I couldn't find an answer.
Posted
Updated 3-Mar-20 1:32am

1 solution

A CFG is "a representation, using graph notation, of all paths that might be traversed through a program during its execution". (Control-flow graph - Wikipedia[^])

All but the simplest programs are likely to have multiple end nodes.

But a single program will always start at the same point, so I don't see how you could have multiple start nodes.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900