Pervacio Interview Question

Gave the code and asked to predict the output of given code