what is an algorithm in terms of STL?

what is an algorithm in terms of STL?..

Answer / bayo

In STL algorithms provide a set of functions to modify,
interpret and analyze the data in container objects.
Iterators provide the connection between the
containers and the algorithms. The generic algorithms take
iterators as arguments to access data in container
objects. Since they work on iterators, they have
independence from the container type.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More STL Interview Questions

Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

0 Answers  

write a program that input four digit no and finds it is palindrome or not

2 Answers  

Write a program in C++ returning starting locations of a substring using pointers

1 Answers  

how to swap two numbers in a linked list without exchanging the data but only the links?

3 Answers   Wipro,

method overloading means what?

2 Answers   CTS,

what are you now programming Languages C+

1 Answers   HCL,

#define CUBE(x) (x*x*x) main() { int a,b=3; a=cube(b++); printf("%d %d",a,b); } What should be the value of a and b? My calc a=4 but syst a=6 how pls tell me if you know it?

11 Answers   Wipro,

why does the execution of a c++ program start with main()???

11 Answers  

what is template and type convertion

0 Answers   TATA,

Difference between Structure and Class in C++?

5 Answers   Caritor,

What is 2*2?

7 Answers  

How to write a function that goes through an array of characters and eliminates any elements that are not letters (Legal letters can be either in an uppercase or a lowercase format.) The function removeNonLetters should return the new effective size of the array as the result.

2 Answers