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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C++  >>  C++ General
 
 


 

 
 STL interview questions  STL Interview Questions
 OOPS interview questions  OOPS Interview Questions
 C++ General interview questions  C++ General Interview Questions
Question
Can we use resume in error handling i.e. in the catch block
 Question Submitted By :: Sumitha
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Can we use resume in error handling i.e. in the catch block
Answer
# 1
yes,we can use
 
Is This Answer Correct ?    0 Yes 0 No
Hendry
 
  Re: Can we use resume in error handling i.e. in the catch block
Answer
# 2
resume() can be used only with threads
 
Is This Answer Correct ?    0 Yes 0 No
Neema
[Skasc]
 
 
 
  Re: Can we use resume in error handling i.e. in the catch block
Answer
# 3
I believe the question is not properly formed, am I right?

The question could be: Can we resume the execution from 
where the exception is thrown?

The answer can be Yes** and No*.

* - By using C++ try/catch mechanism we cannot resume back 
because of the stack unwinding happens.

** - By using structured exception handling of Win32, we 
can resume.
 
Is This Answer Correct ?    0 Yes 0 No
Mms Zubeir
 

 
 
 
Other C++ General Interview Questions
 
  Question Asked @ Answers
 
How to avoid changing constant values? Symphony1
What C++ libraries are you proficient with? Google1
How is an Abstract Base Class(ABC) related to an "Abstract Data Type" (ADT)  2
class professor {}; class teacher : public virtual professor {}; class researcher : public virtual professor {}; class myprofessor : public teacher, public researcher {}; Referring to the sample code above, if an object of class "myprofessor" were created, how many instances of professor will it contain? a) 0 b) 1 c) 2 d) 3 e) 4 Quark1
Explain about profiling?  1
What is the Difference between "C structure" and "C++ structure"?  4
What compiler was used? Intel3
What is your strongest programming language (Java, ASP, C, C++, VB, HTML,C#, etc.)? Microsoft20
When to use Multiple Inheritance?  4
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; }  1
Shall we use 'free' to free memory assigned by new, What are the further consequences?? Symphony4
What is the Difference between "vector" and "array"? TCS6
structure contains int, char, float how it behaves for big endian and little endian? BITS1
How many pointers are required to reverse a link list? CTS2
string somestring ; Which of the following choices will convert a standard C++ string object "somestring" to a C string? a) Copy.somestring () ; b) somestring.c_str () c) &somestring [1] d) std::cstring (somestring) e) (char *) somestring Quark1
What is the Maximum Size that an Array can hold? Satyam31
What is Object Oriented programming.what is the difference between C++ and C? Infosys5
What is problem with Runtime type identification?  1
Can we have "Virtual Constructors"? TCS5
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. GE3
 
For more C++ General Interview Questions Click Here 
 
 
 
 
 
   
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