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

Distinguish between: a) Normal layout & Print Layout views b) Windows Clipboard & office Clipboard c) Save & Save As Commands d) Program File & Data File e) Pie Charts & Barr Charts

2284

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

Infosys,

8 25446

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 27834

how to swap two numbers with out using temp variable

Global eProcure, TCS,

12 21074

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

Infosys,

5 10379

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 4634


how to swap two strings without using any third variable ?

11 39441

What is Object Oriental Progam

2 5198

What is Constructor

Angel Broking,

14 31289

Waht is inheritance

6 9427

what is strcture i++ i ++i answer to this i=5 what is the out put

6 11870

how can u do connectivity in c++ language? plz send me connectivity code in c++ ?

Ascent,

2350

why destructor is not over loaded?

5 19037

Why many objects can working together? How objects working togetherM I want to see example code.

2 5113

suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?

EA Electronic Arts,

3 9688


Un-Answered Questions { C++ }

What are the various access specifiers in c++?

1034


In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....

2423


If P is the population on the first day of the year, B is the birth rate, and D is the death rate, the estimated population at the end of the year is given by the formula: The population growth rate is given by the formula: B – D Write a program that prompts the user to enter the starting population, birth and death rates, and n, the number of years. The program should then calculate and print the estimated population after n years. Your program must have at least the following functions: 1. growthRate: This function takes its parameters the birth and death rates, and it returns the population growth rate. 2. estimatedPopulation: This function takes its parameters the current population, population growth rate, and n, the number of years. It returns the estimated population after n years Your program should not accept a negative birth rate, negative death rate, or a population less than 2. please answer my question ....

2402


If class D is derived from a base class B

776


Please explain the reference variable in c++?

1072


If there are two catch statements, one for base and one for derived, which should come first?

1031


Explain the static member function.

1189


Without using third variable write a code to swap two numbers.

1082


Why is destructor used?

1024


What do you mean by overloading?

1078


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1931


Objective The objective of this problem is to test the understanding of Object-Oriented Programming (OOP) concepts, in particular, on encapsulation. Problem Description Create a program for managing customer’s bank accounts. A bank customer can do the following operations: 1. Create a new bank account with an initial balance. 2. Deposit money into his/her account. 3. Withdraw money from his/her account. For this operation, you need to output “Transaction successful” if the intended amount of money can be withdrawn, otherwise output “Transaction unsuccessful” and no money will be withdrawn from his/her account. Input The input contains several operations and is terminated by “0”. The operations will be “Create name amount”, “Deposit name amount”, or “Withdraw name amount”, where name is the customer’s name and amount is an integer indicating the amount of money. There will be at most 100 bank accounts and they are all created on the first month when the bank is opening. You may assume that all account holders have unique names and the names consist of only a single word. Output The output contains the transaction result of withdrawal operations and the final balance of all customers after some withdrawal and deposit operations (same order as the input). Sample Input Create Billy 2500 Create Charlie 1000 Create John 100 Withdraw Charlie 500 Deposit John 899 Withdraw Charlie 1000 0

2241


What is meant by forward referencing and when should it be used?

1014


How is data hiding achieved in c++?

1082


What does it mean to declare a member variable as static?

1059