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

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

There are 2 classes defined as below public class A { class B b; } public class B { class A a; } compiler gives error. How to fix it?

Microsoft,

3 7490

where is memory for struct allocated? where is memory for class-object allocated? I replied for struct in stack and for class-object in heap. THen he asked if class has struct member variable what happens.class on heap and what about struct in that class? couldnt ans :( :-?

Infosys, Microsoft,

2 10734

How connect plc and pc through software

2485

what is runtime polymorphism? For the 5 marks.

3 6087

What are the access specifiers avaible in c++?

4 7664

1. Define a class.

6 7557

2. Give the different notations for the class.\

2166

3. Differentiate verification and validation.

1 4664

4. What do you mean by a prototype? Define analysis prototype

1 4799

Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

2198

ambiguity regulation of multiple inheritance with example.

1 4257

write a c++ code of diagonal matrix.

2 25053

What is multiple inheritance?

TCS,

9 10718

What is function overloading?,describe it with the example.

5 7160


Un-Answered Questions { C++ }

Can a new be used in place of old mallocq? If yes, why?

1096


Can we use pointers in c++?

1055


the maximum length of a character constant can be a) 2 b) 1 c) 8

1098


Why c++ does not have finally?

1083


What is the copy-and-swap idiom?

1107


What is malloc in c++?

1018


What are c++ data types?

1169


Why can’t you call invariants() as the first line of your constructor?

1026


Whats is abstraction in oops?

1073


What is an incomplete type in c++?

1282


What is a base class?

1116


what is the drawback of classical methods in oops?

3381


Write a program to read the data and evaluate the results of the election. Print all output to the screen. Your output should specify: The total number of votes, the number of valid votes and the number of spoilt votes. The winner(s) of the election. Hint: An appropriate search should be used to determine the winner(s). The votes obtained by each candidate sorted in terms of the number of votes obtained. Hint: An appropriate sort should be used to sort the candidate(s). The Source code should be saved as VotingSystem. Project Input: Candidates’ Names and Numbers 2501 Victor Taylor 2502 Denise Duncan 2503 Kamal Ramdhan 2504 Michael Ali 2505 Anisa Sawh 2506 Carol Khan 2507 Gary Owen Votes 3 1 2 5 4 3 5 3 5 3 2 8 1 6 7 7 3 5 6 9 3 4 7 1 2 4 5 5 1 4 0 Project Output: Invalid vote: 8 Invalid vote: 9 Number of voters: 30 Number of valid votes: 28 Number of spoilt votes: 2 The winner(s): 2503 Kamal Ramdhan 2505 Anisa Sawh Candidate Score 2503 Kamal Ramdhan 6 2505 Anisa Sawh 6 2501 Victor Taylor 4 2504 Michael Ali 4 2502 Denise Duncan 3 2507 Gary Owen 3 2506 Carol Khan 2

3155


Is c++ a software?

1200


What is searching?

1127