Why is polymorphism needed?
No Answer is Posted For this Question
Be the First to Post Answer
what is the difference between virtual function and destoctor?
sir plz send me a set of questions that been frequently held in written examination during campus selection.
Why is abstraction needed?
write a c++ code of diagonal matrix.
What is the benefit of oop?
if u write a class do u write Assignment operator and copy constructor
Explain the concept of abstracion and encapsulation with one example. What is the difference between them?
Which is the parameter that is added to every non-static member function when it is called?
#include <string.h> #include <stdio.h> #include <stdlib.h> #include <conio.h> void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort
why reinterpret cast is considered dangerous?
is java purely oop Language?
49 Answers HCL, Infosys, TCS,
Plese get me a perfect C++ program for railway/airway reservation with all details.