brel-logo-white brel-logo-white
  • Travel
  • Case Study
  • How to
  • Technology
  • More
    • Sports
    • Health
    • Articles
    • Review
Notification
  • HomeHome
  • Finance
  • Health
  • Lifestyle
  • Sports
  • Contact Us
BreldigitalBreldigital
  • HomeHome
  • Finance
  • Health
  • Lifestyle
  • Sports
  • Contact Us
Search
  • Quick Access
    • Home
    • History
    • My Saves
    • My Interests
    • My Feed
  • Categories
    • Travel
    • Sports
    • Health

Top Stories

Explore the latest updated news!

How many solutions exist for the given equation? 3x + 13 = 3(x + 6) + 1 zero one two infinitely many

What is a best practice when approaching an automation effort

How does using mynav allow accenture to help its clients become more sustainable?

Stay Connected

Find us on socials
248.1k Followers Like
61.1k Followers Follow
165k Subscribers Subscribe
Breldigital > Blog > ds > The data structure used to implement recursive function calls
ds

The data structure used to implement recursive function calls

By Megha Chandrashekar Published May 12, 2023
Share

What is the data structures used to perform recursion?

The data structure used to implement recursive function calls

Answer:

 

Stack. Because of its LIFO (Last In First Out) property it remembers its ‘caller’ so knows whom to return when the function has to return. Recursion makes use of system stack for storing the return addresses of the function calls. Every recursive function has its equivalent iterative (non-recursive) function. Even when such equivalent iterative procedures are written, explicit stack is to be used.

Filed Under: C++ – Technology

TAGGED: The data structure used to implement recursive function calls
Megha Chandrashekar May 13, 2023 May 13, 2023
By Megha Chandrashekar
Follow:
Megha Chandrashekar is a former Special Education Assistant who now spends her days running after her toddlers, all the while pursuing a freelance writing career

Search

brel-logo-white brel-logo-white
Explore a wide range of brands and categories with our comprehensive coverage, and stay up-to-date with the latest news and trends by subscribing to our updates.
Categories:
  • Entertainment
  • Travel
  • Sport
  • Contact Us

Quick Links

  • My Feed
  • My Interests
  • History
  • My Saves

About US

  • Adverts
  • Our Jobs
  • Term of Use

© 2023 Brel Digital All Rights Reserved. All logos and images used on this website are registered trademarks of their respective companies

Welcome Back!

Sign in to your account

Lost your password?