What is the standard template library (stl)?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Why do we use setw in c++?

0 Answers  


How can virtual functions in c++ be implemented?

0 Answers  


Explain calling an object's member function(declared virtual)from its constructor?

1 Answers  


How to construct virtual constructor

6 Answers   CIStems Software, Symphony,


Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.

0 Answers  






1)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea += sizeof(int); } return 0; } 2)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea ++; } return 0; } The output of this two programs will be different why?

5 Answers  


what is the use of templates?

3 Answers  


What is an associative container in c++?

0 Answers  


We use library functions in the program, in what form they are provided to the program?

0 Answers  


What is a singleton c++?

0 Answers  


What is virtual destructor ans explain its use?

0 Answers  


In a function declaration what does extern means?

0 Answers   Flextronics,


Categories