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

How to reduce a final size of executable?

3 15811

Give 2 examples of a code optimization?

4 15035

if 4-5 year old brother is standing on d roof with me and watching d moon, suddenly moon coverd by cloud then how will i explain d hiding of moon to my brother.

MBT,

8 12715

write a piece of c++ code which allocate memory to the 50 object of type CObj

2 7483

what is object slicing?

L&T, Wipro,

9 50353

tell me about yourself ?i want answer for frehers with various exasmples?

HCL,

2 7273

who is the founder of c++?

Hexaware, ONGC,

15 39105

//what is wrong with the programme?? #include template class dd { first i; public: void set(); void print(); }; void dd< first>:: set() { cin>>i; } void dd< first>::print() { cout<<"\n"<g; g.set(); g.print(); }

1 4420

what is pulse code modulation?

Wipro,

2 10595

what is an instance of a class

5 8921

wrong statement about c++ a)code removably b)encapsulation of data and code c)program easy maintenance d)program runs faster

11 24330

const char * char * const What is the differnce between the above two?

TCS,

11 21064

What is a class?

Infosys, TCS, Thylak,

32 33354

What is an object?

HCL,

14 17891

What is the difference between an object and a class?

3 7327


Un-Answered Questions { C++ }

what is pre-processor in C++?

1175


Is sorted c++?

1119


What is the difference between Stack and Queue in C++?

1080


What is endianness?

1106


what is a pragma in C++?

1115


What does ios :: app do in c++?

1043


What is the purpose of the "delete" operator?

1069


Why is encapsulation used?

1002


What are static type checking?

1060


What is c++ vb?

1109


What are function prototypes?

1249


How do you traverse a btree in backward in-order?

1038


Can we run c program in turbo c++?

1085


What happens if a pointer is deleted twice?

1277


#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

2556