Can we create object of interface?
No Answer is Posted For this Question
Be the First to Post Answer
what is the basic concept of inheritance?
What is the example of polymorphism?
how to find the correct email address format by using the programe?
What is virtual function?where and when is it used?
how to tackle technical questions
What is abstraction in oop with example?
#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 abstraction in oops?
What do we mean by a hidden argument in a function?
Can we have a private constructor ?
12 Answers HSBC, Ness Technologies, TCS, Wipro,
How to call a non virtual function in the derived class by using base class pointer
What is this pointer in oop?