What is the point of polymorphism?
No Answer is Posted For this Question
Be the First to Post Answer
if u write a class do u write Assignment operator and copy constructor
Why multiple inheritance is not possible?
What is extreme programming?
What is the renewal class?
write a progra in c++ using class & object to find out wheather a given no. is prim or not.
What is the use of unnamed namespaces in OOPS? The only advantage I know is that they dont need the scope resolution operator while accessing them. I want to know some other advantages of unnamed namespaces...
what is the use of template classes in c++
What does enum stand for?
What are virtual classes?
#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
What is sub classing in c++?
How long to learn object oriented programming?