Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



C++ Interview Questions
Questions Answers Views Company eMail

Explain RAII (Resource Acquisition Is Initialization).

3 1047

What is the difference between inline functions and macros?

5 1371

What is the difference between const and constexpr?

4 1229

What are the main characteristics of C++ as a programming language?

1 797

What are the main differences between C and C++?

1 965

What are the strengths of C++?

1 731

What is the difference between a class and a structure in C++?

1 944

What are the three types of access specifiers in C++?

1 721

What is the difference between a constructor and a destructor in C++?

1 891

What is a storage class in C++

1 745

What is the function of the keyword ‘volatile’ in C++?

1 707

What are the weaknesses of C++?

1 708

How is memory managed in C++?

2 928

What are the five types of inheritance in C++?

1 808

What are the different types of variables in C++?

1 801


Un-Answered Questions { C++ }

How many namespaces are there in c++?

1071


What is a map in c++?

1197


List the features of oops in c++?

1044


List the issue that the auto_ptr object handles?

1024


What is the difference between structures and unions?

1056


What is meant by entry controlled loop?

1113


How can you quickly find the number of elements stored in a dynamic array? Why is it difficult to store linked list in an array?

1030


What do you mean by friend class & friend function in c++?

1055


What is latest update of C++ ?

1085


What is dynamic and static typing?

1180


Do you know what is overriding?

1195


what is Member Functions in Classes?

1192


Can we inherit constructor in c++?

1085


Why is main an int?

988


#include #include #include #include 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

2540