OOPS Interview Questions
Questions Answers Views Company eMail

Input: enter the value:1234 output: 1 2 3 4 write a program to get above output.....

Bally Technologies, IBM, SoftSol,

4 13792

Write a program to sort the number with different sorts in one program ??

NIIT,

1906

i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

1826

Round up a Decimal number in c++.. example Note = 3.5 is as 4 3.3 is as 3

Accenture, Cognizant, IBM,

3 5397

1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

2 12395

which is platform independent device used in computers

2 3233

The company is a fake company asking for money of RS10000 while training and not offering a job after training. My humble request to you people not to attend Astersys interview

Astersys,

1 2486

Write a c++ program to display pass and fail for three student using static member function

2798

explain defference between structure and class with example

1 2958

WAP find square root of any number (without using sqrt() )?

3 7593

what is different between oops and c++

IIT,

1992

i got a backdoor offer in process global,Bangalore..Can i work with it?

2316

can we make game by using c

SmartData,

1 3408

What is byval and byref? What are differences between them?

HCL, Wipro,

1680

What is abstrac class?where is it use?

2 3420


Post New OOPS Questions

Un-Answered Questions { OOPS }

What is meant by multiple inheritance?

728


What is ambiguity in inheritance?

616


2. Give the different notations for the class.\

1577


Why is static class not inherited?

589


How to hide the base class functionality in Inheritance?

629






What is a class and object?

588


What is inheritance in oop?

591


What is overriding vs overloading?

573


what is the sylabus for priliminaries?

1672


What do you mean by Encapsulation?

634


What are different oops concepts?

564


what are the realtime excercises in C++?

2325


What is the example of polymorphism?

550


Why do we need oop?

654


#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

2056