What is a template?

Answer Posted / yughandhar

template is a kind of macro to create generic classes and
generic functions to do a specific task

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation process?

575


What are the 4 main oop principles?

679


write knight tour problem which is present in datastructure

2160


How does polymorphism work?

635


What is overloading in oop?

572






What is methods in oop?

537


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2162


What does no cap mean?

590


What is the point of oop?

648


What is polymorphism in oops with example?

525


What is meant by oops concept?

608


What is coupling in oops?

593


What is the purpose of enum?

579


What is polymorphism and types?

596


What does oop mean in snapchat?

680