What is a function in oop?
No Answer is Posted For this Question
Be the First to Post Answer
What is Dynamic Polymorphism?
#include <iostream> using namespace std; int main() { int a = 3; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][2]; }
Write a c++ program to display pass and fail for three student using static member function
What is multidimensional array?
In multilevel inheritance constructors will be executed from the .... class to ... class
what is virtual function?
26 Answers Aspire, HP, Infosys, RoboSoft, TCS,
What is abstraction encapsulation?
Difference between realloc() and free?
why to use operator overloading
Why do we use oop?
#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 a linked list?