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

How much is size of struct having 1 char & 1 integer?

Persistent,

11 16251

They will ask u question about single linked list?. Write Code for to insert delete node.

Persistent,

2 5831

if there is binary tree which one is the easiest way to delete all child node?

Persistent,

1 6053

Write a C program to calculate the salary of each employee in your company. You need to input the hours worked and the hourly rate. The company pays 1.5 times the hourly rate for all hours worked in excess of 48 hours. Use the formulas below to calculate the salary: if employee worked less than 48 hours salary = hours * rate; if employee worked more than 48 hours salary = 48.0 * rate + ( hours − 48.0 ) * rate * 1.5; You are required to use a loop to produce the sample output as given below.

1 13082

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

emc2,

2 8777

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

1 3476

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 12356

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 5851

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

3 8601

What is the output of the following 3D Array int arr[3][2][2]={1,2,3,4,5,6,7,8,9,10,11,12}; what is the output for arr[2][1][0]?

HCL, Integra, IPMC, ORG,

6 43032

What are the advantages of C++ programming compared to C programming?

HAL,

2 6002

Adobe Interview & Adobe Placement Paper

Adobe,

1 11255

what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?

2359

What is volatile and pragma? When they are used?

1 3749

In which memory a class gets stored(in heap /in stack)? And why??

2 9016


Post New C++ General Questions

Un-Answered Questions { C++ General }

What are the advantages of pointers?

1068


What is the advantage of an external iterator.

1049


Is arr and &arr are same expression for an array?

1057


What is private inheritance?

1097


What is scope operator in c++?

1085


What type of question are asked in GE code writing test based on c++ data structures and pointers?

3980


What should main() return in c and c++?

1026


Name the operators that cannot be overloaded in C++?

1061


What you know about structures in C++?

1082


Differentiate between a constructor and a destructor in c++.

1019


Briefly describe a B+ tree. What is bulk loading in it?

1343


What is data abstraction? How is it different from data encapsulation?

1006


What is a c++ class?

1100


what is the difference between overloading & overriding? give example.

1196


write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)

2390