What is Difeerence between List obj=new ArrayList(); and
ArrayList obj=new ArrayList()?
No Answer is Posted For this Question
Be the First to Post Answer
What do you mean by multiple inheritance and multilevel inheritance? Differentiate between them.
What are callback functions in c++
Write a program to multiply 3x3 matrics
Describe these concepts: Polymorphism, Inheritance and Abstraction.
how to find no of instances of an object in .NET?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
program in c++ that can either 2 integers or 2 floating point numbers and output the smallest number
Which is better struts or spring?
what is ns string? what is ns array?
What are functions in oop?
Have you ever interfaced with a database?
#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