Explain STL.
In : IMCA Subject : Object Oriented Programming C++STL stands for Standard Template Library . It is a built-in library in C++ that provides ready-to-use data structures (like arrays, lists, stacks, etc.) and algorithms (like search, sort, etc.) so you don’t have to write them from scratch. Think of it like a toolbox full of useful tools that help you code faster and more efficiently.
Use of STL :
Saves time – no need to write everything from scratch.
Less error-prone – tested and optimized by experts.
Flexible – works with any data type using templates.
Efficient – written for performance.