Arista Networks interview question

C pointers, OOPS and DSA