Interviews Questions, Algorithms, Aptitude, C Interview Program, C Theory Question, Aptitude Tricks, Test Series,

Sunday 18 July 2021

Interview Hack#50 Answer

 Which of the following statements is correct about the below program?

Captionless Image

Correct answer
Explanation:
When static storage class is given, it is initialized once. The change in the value of a static variable is retained even between the function calls. Main is also treated like any other ordinary function, which can be called recursively. 

0 comments:

Post a Comment