What do you mean by stack unwinding in c++?



What do you mean by stack unwinding in c++?..

Answer / Priyom

Stack unwinding in C++ is the process of cleaning up local variables and calling destructors when a function throws an exception. This is done automatically by the C++ runtime.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Write a program to interchange 2 variables without using the third one.

1 Answers  


What is the difference between static link library and dynamic link library?

7 Answers   Tech Mahindra,


What is the type of 'this' pointer? When does it get created?

1 Answers  


What is the topic of the C++ FAQ list?

1 Answers  


What is the operator in c++?

1 Answers  


Explain what you mean by a pointer.

1 Answers   TCS,


Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?

1 Answers  


write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)

1 Answers  


What is the function of the keyword ‘volatile’ in C++?

1 Answers  


Can you Mention some Application of C/C++?

1 Answers  


What is the difference between a class and a structure in C++?

1 Answers  


A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user.

1 Answers  


Categories