Does this example even compile, given that ptr is not declared anywhere?
>Does this example even compile, given that ptr is not declared anywhere?
that comment was not a comment but an interview. and you just failed it.
Nope, I also missed a semicolon at the end of the class definition. But I wouldn't ding someone for that in an interview.
>Does this example even compile, given that ptr is not declared anywhere?
that comment was not a comment but an interview. and you just failed it.