Write A Program using Single and Multiple Inheritance.
Answer / guest
#include<iostream.h>
{
class inheritance
int a;
{
| Is This Answer Correct ? | 1 Yes | 3 No |
What is a template?
i ahve v low % in 12th n BSC which is aroun 50 coz science was imposed on me......nw m doin MCA n my aggregate in above 74%,what shud i say if asked about low previous percentage??????
What are two types of polymorphism?
How to reverse a sentence in c program ex: ram is a good boy answer: boy good a is ram
Give two or more real cenario of virtual function and vertual object
what is function overloading..?
What do you mean by abstraction?
what is the drawback of classical methods in oops?
what is opps?why it is use in programming language?
What are the data types in 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
write a program for function overloading?
14 Answers HCL, InfoCity, TATA,