Q: Which of these languages includes a Standard Template Library (STL) for data structures and algorithms?
-
A
Java
-
B
C
-
C
C++
-
D
None of the above
C
Answer:
C
Explanation:
Explanation: C++ has the Standard Template Library (STL), which provides a set of generic classes and functions for data structures and algorithms, such as vectors, lists, and maps. This library allows C++ developers to easily implement complex data structures and perform efficient operations. Java has its own collections framework, which provides similar functionality but is not called the STL. C lacks a standard library for complex data structures, focusing mainly on basic functions and I/O.
Related Topic:
Share Above MCQ