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  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
 Categories  >>  Software  >>  Programming Languages  >>  C++  >>  OOPS       
Suggest New Category 
 


 

View Page with Answers
  Question  Asked @ Answers Views     select
 
Which is the best institute in hyderabad for C/C++ and it also has fast track course structure.  0  6
What is DeadlyDiamondDeathProblem ?  0  10
explain sub-type and sub class? atleast u have differ it into 4 points?  0  24
Write a program in c++ to read two floating point numbers and find their sum and average.  0  35
why overriding?  1  187
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer  0  43
WHAT IS THE DIFFERENCE BETWEEN OBJECT BASED & OBJECT ORIENTD PROGRAMMING LANGUAGE.(GIVE AT LIST 4 PIONT) TCS   1  512
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash  0  31
what are three tenets of object orinted Systems?Why they call like that ? Please answer me. Advance thanks. Excel  0  27
how much classes are used in c++  2  284
1. Wrie a function which returns the most frequent number in a list of integers. Handle the case of more than one number which meets this criterion. public static int[] GetFrequency(int[] list) Nagarro  0  27
how to find the correct email address format by using the programe? Accenture  0  71
How to calculate the age from the date of birth by using the program? Accenture  0  62
How to Increment the value of the empid E001 for each and every employee by using the programe? Accenture  0  33
what is the sylabus for priliminaries?  0  44
E-Mail New Answers        Answer Selected Questions        Post New OOPS Question
 
 [1]    2  ... 3   ... 5   ... 7   ... 9   ... 11   ... 13   ... 15   ... 17    Next
 
 
 STL interview questions   STL Interview Questions  OOPS interview questions   OOPS Interview Questions  C++ General interview questions   C++ General Interview Questions
 
 
 
Un-Answered Questions
 
 Question Views Asked at   Select
 
How to Increment the value of the empid E001 for each and every employee by using the programe? 33 Accenture
How to execute business logic for only once ..?even though user clicks submit button multiple times by mistake..? (i disabled JavaScript) 156  
explain sub-type and sub class? atleast u have differ it into 4 points? 24  
Program to open a file with First argument 109 TCS
Program to read a comment string 143  
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory 250  
How Do you Code Composition and Aggregation in C++ ? 3571 IBM
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy 66 DELL
what are three tenets of object orinted Systems?Why they call like that ? Please answer me. Advance thanks. 27 Excel
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’. 118 TCS
C#.net Interview Question A=10 B=5 C=A+B Print C The above will be given in a multiline textbox. You need to parse the above input, store values for A,B&c. And you have to display the value of C. 201 Syncfusion
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer 43  
what is oppes 90  
sir plz send me a set of questions that been frequently held in written examination during campus selection. 92  
what is the sylabus for priliminaries? 44  
What is DeadlyDiamondDeathProblem ? 10  
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 111  
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 183  
How can we use the preprocessor #if and #elseif. 95  
Write a program in c++ to read two floating point numbers and find their sum and average. 35  
E-Mail New Answers        Answer Selected Questions
 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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