Can main method override?
No Answer is Posted For this Question
Be the First to Post Answer
WAP find square root of any number (without using sqrt() )?
write string class as your own class in java without using any built-in function
design class for linked list and include constructor,destructor,insert option. node of form struct node { int data; struct node &ptr; }
can we make a class static without using static keyword?
which is platform independent device used in computers
What is class and object with example?
Write a C++ program to conduct an election of a mayor.Declare a class ELECTION With the following specification: Data member: Name 25 character Age Integer symbol 1 character Member functions: To accept data for 20 contestant To accept symbol as voting from 100 voters. To declare the winner and the loser.
1 Answers Global Academy, Infotech,
Should you protect the global data in threads? Why or why not?
How do you define social class?
What is operator overloading? Give Example
11 Answers CTS, IBM, TCS,
What is the point of 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