R Systems interview question

pointers concept