free geoip

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Please explain the term stacking overhead in C++
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
Please explain the term stacking overhead.Stack is special kind of data structure which is used in C/C++ to store the parameters of any function when it is being called.
Reply
#2
Stack is special kind of data structure which is used in C/C++ to store the parameters of any function when it is being called. Whever we call a function in our program, the parameters which are passed to the function during its function call are stored onto the stack temporarily. Also each function is associated with an address which recognizes that function, this address is also pushed(stored) on stack. Stack is very useful in storing information related to functions but since stack has limited memory resources. In case if a lot of functions beign used/called in a program, parameters and adresses of all the functions are pushed on the stack which may result into exceeding the stack limit which is termed as Stacking Overhead.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Dangling Pointers Explain in C++ Vuhelper 0 7,304 05-31-2012, 01:52 AM
Last Post: Vuhelper
  Explain the difference b/w Null Pointer and Null Nodes? C++ 2012 Vuhelper 0 1,977 01-06-2012, 12:24 AM
Last Post: Vuhelper
  explain this operator -> which is use as headnode->stnext(null); Vuhelper 0 1,751 01-04-2012, 10:26 PM
Last Post: Vuhelper
  what does the term Constant time mean in c++ 2012? Vuhelper 0 1,921 01-04-2012, 10:14 PM
Last Post: Vuhelper
  explain error handling in c++ 2011 saneha 0 2,382 05-02-2011, 06:52 PM
Last Post: saneha
  explain the copy constructor, shallow copy, and deep copy with examples and c++ code saneha 1 5,474 05-02-2011, 06:45 AM
Last Post: Vuhelper
  what is the main function of bool explain in detail? saneha 1 4,176 05-02-2011, 06:09 AM
Last Post: Vuhelper
  explain cardinality in c++ 2011 saneha 1 3,396 04-29-2011, 08:16 AM
Last Post: Vuhelper
  Explain overridig with example 2011 saneha 1 2,376 04-29-2011, 07:34 AM
Last Post: Vuhelper
  Explain the difference between state and attribute in c++ 2011 saneha 1 2,338 04-29-2011, 07:21 AM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support