SpanIdea Interview Question

c++ oops dsa pointers arrays