QuantVault QuantVault
  • Dashboard
  • Problems
  • Firms
  • Market Games
  • Learn
  • Resources
Problems › Coding

C++: const Pointer Declarations

Coding · Easy · Free problem
In C++, what is the difference between these three declarations? ```cpp const char* p1; char const* p2; char* const p3; ``` Which can you reassign? Which let you modify the underlying characters?

Open the full interactive solver, hints, and worked solution →

QuantVault Deep quant interview preparation. 2,800+ curated problems, full solutions, and 40+ interactive courses. [email protected]
Product
  • Problems
  • Dashboard
  • Firms
  • Learn
  • Resources
  • Pricing
Company
  • About
  • Contact
  • Terms of Service
  • Privacy Policy
Connect
  • Discord
  • LinkedIn
  • Substack
© 2026 QuantVault — Deep quant interview preparation