Top STL Interview Questions :: ALLInterview.com http://www.allinterview.com Top STL Interview Questions en-us Which data structure gives efficient search? A. B-tree B. binary tr http://www.allinterview.com/showanswers/19453.html B. binary tree What is the disadvantage of templates ? http://www.allinterview.com/showanswers/870.html one disadvantage is non-standards conforming compilers. templates can also sometimes make maintaining code harder and less clear, although the exact opposite can be said as well. Templates aren't *inherently* code bloating. Give the output of the following program main() {int ret; ret=fork( http://www.allinterview.com/showanswers/19455.html sunsolarissunsolarissunsolarissunsol In what cases using of a &#039;template&#039; is a better approach t http://www.allinterview.com/showanswers/1021.html if want to reduce the complexity of our program then we use templates instead of base class. mainly it is used in larger programs. c# support late binding or early binding. http://www.allinterview.com/showanswers/26311.html yes c# support late binding or early binding What is the STL? http://www.allinterview.com/showanswers/251.html Standard Tessellation Language - a polygonal model format that is used for rapid prototyping how to overload &lt;&lt; and &gt;&gt; operator in c++ http://www.allinterview.com/showanswers/28506.html class chocoBox { private: int pieCount; float boxPrice; public: // By giving default arguments, const acts like // 0, 1 and 2 argument contructor myClass(int pCount = 10, float bPrice = 20.0) : pieCount(pCount), what is an algorithm in terms of STL? http://www.allinterview.com/showanswers/409.html 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 Give the output of the following program main() {char *p=&#039;a&#03 http://www.allinterview.com/showanswers/19454.html yes, *p='a' *i=100/*p i.e. 100/97 =1 hence *i=1 if 4-5 year old brother is standing on d roof with me and watching d http://www.allinterview.com/showanswers/10817.html i will explain moon feels sleepy so moon went to sleep by covering clouds as a bed sheet. What is 2*2? http://www.allinterview.com/showanswers/36255.html 4 What is Template Specialization? http://www.allinterview.com/showanswers/1019.html there are partial and full specializations for template class, and only full partial specialization for template function. template <class T, size_t size> class Object {}; full specialization: template <> class Object<int, 10 what&#039;s the difference between abstract class and concreate class http://www.allinterview.com/showanswers/57300.html An abstract class is the class that define the interface without the necessity to implement all the member functions. The derived class (from base abstract class) that implement all the missing functions How the STL&#039;s are implemented, What the difference between temp http://www.allinterview.com/showanswers/869.html 4 fundamental elements consist STL: container, allocator, iterator and algorithm. STL employs highly template technology, for all 4 aspects what&#039;s the difference between function overloading and function http://www.allinterview.com/showanswers/57299.html function overloading is the process of defining the same function name with different arguments,number of arguments ,or ordinal positions of arguments. function overriding is the process of defining the Base class function in the derived cla