ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
 Categories  >>  Software  >>  Programming Languages  >>  C++       
 
  STL (43)   OOPS (185)   C++ General (218)
 
Suggest New Category 
 


 

View Page with Answers
  Question  Asked @ Answers Views     select
 
What do you mean by binding of data and functions?  1  749
What is encapsulation? TCS  8  1861
What is polymorphism? Explain with an example.  7  2349
What is abstraction?  6  1617
What do you mean by inheritance?  0  49
What is a scope resolution operator? HP  4  1046
What is friend function? Wipro  3  1364
What are virtual functions?  2  350
What is public, protected, private? Satyam  4  1563
What is the difference between class and structure?  3  1814
What is the difference between an object and a class?  2  988
What is an object? HCL  7  1149
What is a class? TCS   17  1925
const char * char * const What is the differnce between the above two? TCS  7  2372
wrong statement about c++ a)code removably b)encapsulation of data and code c)program easy maintenance d)program runs faster  8  843
E-Mail New Answers        Answer Selected Questions
 
 
Prev    1   ... 3   ... 5   ... 7   ... 9   ... 11   ... 13   ... 15    17   [18]    19  ... 21   ... 23   ... 25   ... 27   ... 29    Next
 
 
 C interview questions   C Interview Questions  C++ interview questions   C++ Interview Questions  VC++ interview questions   VC++ Interview Questions
 Delphi interview questions   Delphi Interview Questions  Programming Languages AllOther interview questions   Programming Languages AllOther Interview Questions
 
 
 
Un-Answered Questions
 
 Question Views Asked at   Select
 
How many pointers are required to reverse a link list? 25 CTS
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 .... 63 Microsoft
Question 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. Question Submitted By :: Sunil Kumar I also faced this Question!! Rank Answer Posted By Re: 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. Answer # 1 use copy constructors 0 Shanthila There is something to be taken care in destructor, in copy constructor, suppose the memory is assigned to the embedded member object pointer with the parameter passed value, but if some other objects of different class also are pointing to this memory, then if some one deletes the object then this class member pointer object will become dangling, or if the object is not deleted properly then there will be memory leak. Please suggest the design change required to handle or avoid this situation 39  
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc.. 40  
Describe the elements of Microsoft Word screen. Write down steps for creating, saving, retrieving, editing and printing a document. 59  
When is the last time you coded in C/C++? What is the most lines of original C/C++ code you have personally written in one project? How confident are you in your ability to write C or C++ without a reference? 66 Microsoft
Write a program to demonstrate the use of 'Composition' in C++ 49  
explain dynamic binding by drowing 36  
What is multithreading and what is its use?Whats are multithreading techniques used in C++? 46  
sir plz send me a set of questions that been frequently held in written examination during campus selection. 24  
What are function poinetrs? where are they used? 19 CTS
Contrast OOP and SOA. What are tenets of each? 127 Wipro
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction 39  
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 48  
How the compilers arranges the various sections in the executable image? 157  
How to construct muliton object 170 Symphony
i hav very low percentage in 12th n BSCwhich is around 50.......coz it was just imposed on me 2 b a science graduate,nw m doin MCA n hav aggregate 74% ....what shud i answer if company's HR ask me about dis much low previous percentage?????? 46  
What are smart pointer? Whats its use? 22 CTS
How many types of casting are there in C++? When is a dynamic cast,static_cast,reinterpret cast used? 35 CTS
i had specified the access specifier for abstarct class member like (pure virtual function) as private.But it can be accessed by the derived class.How the private member of one class is accessed by other class.if any body face this problem and found the solution plz reply to me. 32  
E-Mail New Answers        Answer Selected Questions
 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com