Oracle Interview Question

Technical Question - simple Algos, State Variable in C etc.