How to programatically find if the code is recursive or iterative

Is there any way to programatically find if the given code is taking recursive
approach or iterative apporaoch using concept of files in C programming.

//