| Other STL Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is Template Specialization? | Lucent | 1 |
| What is the underlying datastructure of map? | Siemens | 4 |
| How the STL's are implemented, What the difference between
templates and STL? | Symphony | 1 |
| Assume I have a linked list contains all of the alphabets
from "A" to "Z?" I want to find the letter "Q" in the list,
how does you perform the search to find the "Q?" | | 2 |
| What is Constructor | Angel-Broking | 2 |
| What is 2*2? | | 3 |
| Waht is inheritance
| | 4 |
| what is use of for loop? | Wipro | 7 |
| c# support late binding or early binding. | | 3 |
| what is an algorithm in terms of STL? | Wipro | 1 |
| Give the output of the following program
main()
{int ret;
ret=fork();ret=fork();ret=fork();ret=fork();
if(!ret)
printf("sun");
else
printf("solaris"); | Sun-Microsystems | 4 |
| write a piece of c++ code which allocate memory to the 50
object of type CObj
| | 2 |
| how to overload << and >> operator in c++ | Wipro | 3 |
| Find the error in the following program struct point
{struct point *next; int data; } x; main() {int...data;
}
x;
main()
{int i;
for(x=p;x!=0;)
x=x->next,x++;
freelist(x);
}
freelist(x)
{free(x);
return
} | Sun-Microsystems | 1 |
| What is the disadvantage of templates ? | Symphony | 2 |
| Give the output of the following program
main()
{char *p='a';
int *i=100/*p;
}
what will be the value of *i= 1
| Sun-Microsystems | 3 |
| how to swap two numbers in a linked list without exchanging
the data but only the links? | Wipro | 2 |
| what's the difference between abstract class and concreate
class? what's the meaning of standard template library(STL)? | | 3 |
| what is strcture
i++ i ++i answer to this i=5 what is the out put | | 5 |
| I am doing my BS.c MATHS CAN I ABLE TO JOIN IN NIIT? | | 1 |
| |
| For more STL Interview Questions Click Here |