what is a template?
Answers were Sorted based on User's Feedback
Answer / shiva
Template is for creating generic functions as well as data
members
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / ramya
templates are used for creating a family of function by
function templates,creating a family of class using class
templates
| Is This Answer Correct ? | 1 Yes | 2 No |
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");
Give the output of the following program main() {char *p='a'; int *i=100/*p; } what will be the value of *i= 1
What is the underlying datastructure of map?
When did c++ add stl?
What is the STL?
Is there any error below, its a code to delete all entires from a map #include <map> #include iostream.h int main() { int i =0; map <int, char> TestMap; while(i<3) { TesMap.insert(TestMap::value_type(i,Test)); i++; } typedef map<int, char> :: iterator mapIter =TestMap.begin(); if(mapIter!=TestMap.end()) { TestMap.erase(mapItrer); ++mapIter; } return 0; }
What are the components of stl?
write a c++ program to create an object of a class called employee containing the employee code name designation basic salarry HRA Da gross salary as data 10 such objects "members process "
How connect plc and pc through software
Define the terms: field, record, table and database
What are the symptoms of stl?
Can we use stl in coding interviews?