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

When is a template better solution than a base class??

emc2,

2 8763

Explain calling an object's member function(declared virtual)from its constructor?

1 3469

What is the concept of object oriented program?

6 7947

You're given an array containing both positive and negative integers and required to find the sub-array with the largest sum (O(N) a la KBL). Write a routine in C for the above.

4 12350

Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].

1 5840

Give a very good method to count the number of ones in a "n" (e.g. 32) bit number.

3 8589

wht is ditch

2229

When you define a integer it gets stored in which data structure?(Stack or a heap)

emc2,

2 6036

What is a scope operator and tell me its functionality?

emc2,

3 6084

What is difference between function overloading and overriding?

emc2,

1 6138

What is difference between new and malloc?

emc2,

7 11586

What is difference between #define and const?

emc2,

3 7772

Write pseudo code for push in a stack?

emc2,

2 10933

What is Hashing and how is it done? Pictorial form?

emc2, Wipro,

2 8795

Polymorphism with an example?

Accenture, emc2,

8 14760


Un-Answered Questions { C++ }

Do the parentheses after the type name make a difference with new?

1083


Implement a 2D bit-matrix representing monochrome pixels which will have only OFF/ON values and will take on an average only one bit of memory for each stored bit. How to perform various operations on it?

1020


Difference between inline functions and macros?

1041


What is while loops?

1049


What is the difference between passing by reference and passing a reference?

1079


write a program to convert a decimal number in to its equivalent binary number?

2671


what is VOID?

1062


What are libraries in c++?

1066


What is a stack? How it can be implemented?

1169


Explain the auto storage classes in c++.

1098


What are the comments in c++?

984


What is the highest level of cohesion?

1046


Difference between class and structure.

1164


Define friend function.

1044


When there is a global variable and local variable with the same name, how will you access the global variable?

1101