Following are the class specifications:
class {int a};
class {int b};
Using friend funtion,calculate the max of two objects and
display it.
No Answer is Posted For this Question
Be the First to Post Answer
Out of 4 concepts, which 3 C++ Follow?
#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 polymorphism is used in oops?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
Write an operator overloading program to write S3+=S2.
What are the 4 main oop principles?
What is overriding in oops?
what is oops
c++ provides classes...and classes do what we want but why then strcut are used...if we say data hiding... it is also provided by c++ in structs then why to prefer clasess
Why do we use virtual functions?
what is the application of oops?
How to use CMutex, CSemaphore in VC++ MFC