What is the output of this program?
Pointer ptr points to string ‘fg’. So it prints fg.Output:$ g++ point.cpp$ a.outfg
Share this page with your friends!