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 (38)   OOPS (160)   C++ General (188)
 
Suggest New Category 
 


 

  Question  Asked @ Answers Views     select
 
how to swap to variables without using thrid variable in java?  0  5
Please tell me the oops concept with detailed answer EEE  1  202
How Do you Code Composition and Aggregation in C++ ?  0  8
how to find no of instances of an object in .NET?  0  10
swapping program does not use third variable  3  154
is throwing exception from a constructor not a good practice ? Ericsson  1  108
why the size of an empty class is 1  2  220
what is static function Patni  1  49
implement stack using stack.h headerfile functions Subex  0  11
write a program in c++ to implement stack using functions in header file stack.h Subex  0  13
Explain polymorphism? What r the types of polymorphism? pls give examples?  2  840
what is the difference b/w abstract and interface? Merrill-Lynch   1  650
what is data Abstraction? and give example TCS   2  380
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)  0  51
What is the Advantage of Interface over the Inheritance in OOPS?  1  500
E-Mail New Answers        Answer Selected Questions
 
 
 [1]    2  ... 3   ... 5   ... 7   ... 9   ... 11   ... 13   ... 15   ... 17   ... 19   ... 21   ... 23   ... 25    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
 
what's the difference between abstract class and concreate class? what's the meaning of standard template library(STL)? 20  
Can we generate a C++ source code from the binary file? 84  
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 18  
How can you force instantiation of a template? 105 ABC
How const functions will be treated by compiler? 77 Symphony
How to execute business logic for only once ..?even though user clicks submit button multiple times by mistake..? (i disabled JavaScript) 20  
Describe the My Computer and My Documents folders; identify the elements that are present in every Window. 29  
What are the techniques you use for debugging? 16 Adtran
To modify an, existing worksheet. What steps are involved for: 1. Inserting and deleting rows and columns. 2. Printing cell formulas 3Jld displayed values 3. Using the page setup command 22  
Describe the elements of Microsoft Word screen. Write down steps for creating, saving, retrieving, editing and printing a document. 24  
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? 37 Microsoft
Disadvantages of c++ 34  
implement stack using stack.h headerfile functions 11 Subex
Explain the need for "Virtual Destructor"? 47 Infosys
Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A.Explain how a pointer to function can be declared in C++? B.List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header (“Include”) Files. 63  
this is to swap to strings....but in output the whole strings are swapped leaving first as it is...why it is so #include<iostream.h> int main() { char a[]="ajeet"; char b[]="singh"; long x=*a; long y=*b; cout<<x<<":"<<y; x=x+y; y=x-y; x=x-y; *a=x; *b=y; cout<<x<<":"<<y; cout<<&a<<endl; cout<<&b<<endl; } 29  
Profiler in projects? 56 Symphony
please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html 33  
What is Memory Alignment? 65 TCS
sir plz send me a set of questions that been frequently held in written examination during campus selection. 15  
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   ::  LiveStore.net   ::  KalAajKal.com