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++ General Interview Questions
Questions Answers Views Company eMail

Find the second maximum in an array?

HCL,

12 25522

"How will you merge these two arrays? Write the program Array: A 1 18 22 43 Array: B 3 4 6 20 34 46 55 Output Array: C 1 3 4 6 18 20 22 34 43 46 55"

College School Exams Tests, HCL,

9 24004

What is Object Oriented programming.what is the difference between C++ and C?

Infosys,

8 25140

Memory is not a constraint. In a single iteration(NOTE: you can't go back), how will you find out the 10th last node/item in a linked list.

BNB, FDS, Goldman Sachs, Nagarro,

16 27239

how to swap two numbers with out using temp variable

Global eProcure, TCS,

12 20536

Can we use resume in error handling i.e. in the catch block

Infosys,

5 10151

this is to swap to strings....but in output the whole strings are swapped leaving first as it is...why it is so #include int main() { char a[]="ajeet"; char b[]="singh"; long x=*a; long y=*b; cout< 1 4542


how to swap two strings without using any third variable ?

11 39025

if i want cin 12345678910 and cout abcdefghij. so how can i create the program?. example : if i key in 8910 so the answer is ghij.

3 5927

Write a program that read 2o numbers in and array and output the second largest number. Can anybody help??

7 10616

In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest.

GE,

5 8264

Consider a c++ template funtion template T& Add(T a, T b){return a+b ;} if this function is called as T c = Add("SAM", "SUNG"); what will happen? What is the problem in the template declaration/ How to solve the problem.

LG, Samsung,

7 17065

Disadvantages of c++

HCL,

8 18377

what is the size of this class class size { public: char data1; double d; int data2; char data3; double data4; short data5; }; please explain the padding for these double variables.

9 11186

Please post the model question paper of hal?

2 4729


Post New C++ General Questions

Un-Answered Questions { C++ General }

Explain how overloading takes place in c++?

973


What is object file? How can you access object file?

1126


Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?

2453


What is the difference between public and private data members?

1121


What do you mean by delegate? Can a user retain delegates?

885


True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends

2315


What problems might the following macro bring to the application?

984


What are virtual constructors/destructors?

947


What is stoi in c++?

1126


What do you mean by persistent and non persistent objects?

1360


How to access a variable of the structure?

1018


What is the main purpose of c++?

1015


Which one between if-else and switch is more efficient?

1016


What's the hardest coding language?

948


Is linux written in c or c++?

995