Top STL Interview Questions :: ALLInterview.com http://www.allinterview.com Top STL Interview Questions en-us 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. Which data structure gives efficient search? A. B-tree B. binary tr http://www.allinterview.com/showanswers/19453.html B. binary tree c# support late binding or early binding. http://www.allinterview.com/showanswers/26311.html yes c# support late binding or early binding What is Constructor http://www.allinterview.com/showanswers/61229.html IT IS A MEMBER FUNCTION WHOSE TASK IS TO INITIALIZE THE OBJECTS OF ITS CLAASS. IT IS INVOKED A SOON AS THE OBJECT ASSOCIATED WITH THAT CLASS IS CREATED. ITS TYPES:- 1> COPY CONSTRUCTOR 2> PARAMITERISED CONSTRUCTOR 3> DUMMY CONSTR Give the output of the following program main() {int ret; ret=fork( http://www.allinterview.com/showanswers/19455.html sunsolarissunsolarissunsolarissunsol What is the STL? http://www.allinterview.com/showanswers/251.html Standard Tessellation Language - a polygonal model format that is used for rapid prototyping In what cases using of a 'template' 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. how to overload << and >> 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 what'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 Give the output of the following program main() {char *p='a&#03 http://www.allinterview.com/showanswers/19454.html yes, *p='a' *i=100/*p i.e. 100/97 =1 hence *i=1 What is the underlying datastructure of map? http://www.allinterview.com/showanswers/71570.html hash table what'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 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. how to swap two numbers in a linked list without exchanging the data http://www.allinterview.com/showanswers/70170.html Suppose List contains 3 no. 10, 20, 30 try to exchange 10 and 20. head points to 10. temp = head; head = head -> next; temp -> next = head - next; head -> next = temp; I think it works..