When are the pointer types known for upcasting the objects?
(a) Compile time
(b) Runtime
(c) Source code build time
(d) Doesn’t apply to pointer types
This question was addressed to me by my school teacher while I was bunking the class.
My doubt is from Upcasting in division Default Arguments vs Overloading, Upcasting and Downcasting of Object Oriented Programming