Why is encapsulation used?
No Answer is Posted For this Question
Be the First to Post Answer
write a short note on Overloading of Binary Operator?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is abstract class in oops?
In what situation factory design patterns,DAO design patterns,singleton design patterns should be applied.?
What is the output of the following code: int v() { int m=0; return m++; } int main() { cout<<v(); } 1) 1 2) 0 3) Code cannot compile
Why many objects can working together? How objects working togetherM I want to see example code.
why the argument is passed by reference to a copy constructor?example?
what is a ststic variable and stiticfunction briefly explain with exmple and in which case we use
Program to open a file with First argument
what is the realstic modeling?
A file pointer always contains the __________ of the file
#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