i think the option B is misleading in the sense that if the DFS tree is generated, then there would never be a back edge in it.
But if the DFS traversal is going, then the presence of back edge in the graph can detect cycle, and if there is not a one, then we can say that there are no cycles in the grpah.
Therefore, they should mention that whether this is for the ongoing traversal or the DFS tree is generated.