Does this approach depend upon compiler or language or what is the thing? What is the ans for the question?