| Other STL Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is a template? | BITS | 2 |
| what is use of for loop? | Wipro | 7 |
| What is the disadvantage of templates ? | Symphony | 2 |
| What is 2*2? | | 3 |
| Define the terms: field, record, table and database | | 1 |
| How Find, Replace and Go To commands ca be used to
substitute one
character string for another? Explain with the heIp of an
example.
| | 1 |
| 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 |
| how to overload << and >> operator in c++ | Wipro | 3 |
| In what cases using of a 'template' is a better approach
then using of a 'base class'? | Lucent | 6 |
| What is the underlying datastructure of map? | Siemens | 4 |
| 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 |
| write a piece of c++ code which allocate memory to the 50
object of type CObj
| | 2 |
| Waht is inheritance
| | 4 |
| What is Constructor | Angel-Broking | 2 |
| What is Template Specialization? | Lucent | 1 |
| I am doing my BS.c MATHS CAN I ABLE TO JOIN IN NIIT? | | 1 |
| 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 |
| c# support late binding or early binding. | | 3 |
| What is the Difference between CArray and CList? | Siemens | 1 |
| |
| For more STL Interview Questions Click Here |