SlideShare a Scribd company logo
INTRODUCTION
EXAMPLE
Recursive Function
Introduction
 Recursive functions are those function which are call
themselves repetitively.
 The function call themselves repetitively until certain
condition is satisfied.
 The recursive function have following types of
statements:
 A statement or condition to determine if the function is calling
itself again.
 Function call which should have argument
 Conditional statement(if-else)
 A return statement.
Recursive Function
OUTPUT
Class Work
 WAP to find the product of two numbers using
recursion.
 WAP to find a^b using recursion.

More Related Content

PPTX
Pointer in c
PPTX
classes and objects in C++
PDF
Function overloading ppt
PPTX
Strings in c++
PPTX
PPTX
Functions in c
PPT
Functions in C++
PPTX
Functions in c++
Pointer in c
classes and objects in C++
Function overloading ppt
Strings in c++
Functions in c
Functions in C++
Functions in c++

What's hot (20)

PPTX
Pointers in C Programming
PPS
Wrapper class
PPTX
6-Python-Recursion PPT.pptx
PDF
C++ OOPS Concept
PPTX
Encapsulation C++
PPTX
[OOP - Lec 19] Static Member Functions
PPTX
PPTX
Polymorphism In c++
PPTX
Java Data Types
PPT
One Dimensional Array
PPTX
Function overloading and overriding
PDF
PPTX
Passing an Array to a Function (ICT Programming)
PPTX
07. Virtual Functions
PPTX
Variables in python
PDF
Constructor and Destructor
PDF
Constructors and destructors
PPTX
Member Function in C++
PPTX
PPTX
Union in C programming
Pointers in C Programming
Wrapper class
6-Python-Recursion PPT.pptx
C++ OOPS Concept
Encapsulation C++
[OOP - Lec 19] Static Member Functions
Polymorphism In c++
Java Data Types
One Dimensional Array
Function overloading and overriding
Passing an Array to a Function (ICT Programming)
07. Virtual Functions
Variables in python
Constructor and Destructor
Constructors and destructors
Member Function in C++
Union in C programming
Ad

Viewers also liked (20)

PDF
Simpson and lagranje dalambair math methods
ODP
Algorithms
PPTX
Recursion transformer
PPTX
Secondary storage structure
DOCX
The Algebra of Functions
PPTX
Learning C++ - Functions in C++ 3
PPTX
Pointers in C
PPT
Secondary storage structure-Operating System Concepts
PPTX
Storage Class in C Progrmming
PPT
Disk scheduling
PPTX
4. Recursion - Data Structures using C++ by Varsha Patil
PPTX
Numerical integration
PPTX
Network Layer
PPT
Functions in C++
PPT
Numerical integration
PPTX
Strings in C
PPTX
File handling in C
PPT
Ch10
PPTX
Structure in C
PPTX
Array in C
Simpson and lagranje dalambair math methods
Algorithms
Recursion transformer
Secondary storage structure
The Algebra of Functions
Learning C++ - Functions in C++ 3
Pointers in C
Secondary storage structure-Operating System Concepts
Storage Class in C Progrmming
Disk scheduling
4. Recursion - Data Structures using C++ by Varsha Patil
Numerical integration
Network Layer
Functions in C++
Numerical integration
Strings in C
File handling in C
Ch10
Structure in C
Array in C
Ad

More from Kamal Acharya (20)

PPTX
Programming the basic computer
PPTX
Computer Arithmetic
PPTX
Introduction to Computer Security
PPTX
Session and Cookies
PPTX
Functions in php
PPTX
Web forms in php
PPTX
Making decision and repeating in PHP
PPTX
Working with arrays in php
PPTX
Text and Numbers (Data Types)in PHP
PPTX
Introduction to PHP
PPTX
Capacity Planning of Data Warehousing
PPTX
Data Warehousing
PPTX
Search Engines
PPTX
Web Mining
PPTX
Information Privacy and Data Mining
PPTX
Cluster Analysis
PPTX
Association Analysis in Data Mining
PPTX
Classification techniques in data mining
PPTX
Data Preprocessing
PPTX
Introduction to Data Mining and Data Warehousing
Programming the basic computer
Computer Arithmetic
Introduction to Computer Security
Session and Cookies
Functions in php
Web forms in php
Making decision and repeating in PHP
Working with arrays in php
Text and Numbers (Data Types)in PHP
Introduction to PHP
Capacity Planning of Data Warehousing
Data Warehousing
Search Engines
Web Mining
Information Privacy and Data Mining
Cluster Analysis
Association Analysis in Data Mining
Classification techniques in data mining
Data Preprocessing
Introduction to Data Mining and Data Warehousing

Recently uploaded (20)

PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Classroom Observation Tools for Teachers
PDF
01-Introduction-to-Information-Management.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
RMMM.pdf make it easy to upload and study
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Cell Types and Its function , kingdom of life
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
master seminar digital applications in india
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Pharma ospi slides which help in ospi learning
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
STATICS OF THE RIGID BODIES Hibbelers.pdf
Classroom Observation Tools for Teachers
01-Introduction-to-Information-Management.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
RMMM.pdf make it easy to upload and study
Complications of Minimal Access Surgery at WLH
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPH.pptx obstetrics and gynecology in nursing
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Cell Types and Its function , kingdom of life
TR - Agricultural Crops Production NC III.pdf
master seminar digital applications in india
Renaissance Architecture: A Journey from Faith to Humanism
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Pharma ospi slides which help in ospi learning
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester

Recursive Function

  • 2. Introduction  Recursive functions are those function which are call themselves repetitively.  The function call themselves repetitively until certain condition is satisfied.  The recursive function have following types of statements:  A statement or condition to determine if the function is calling itself again.  Function call which should have argument  Conditional statement(if-else)  A return statement.
  • 5. Class Work  WAP to find the product of two numbers using recursion.  WAP to find a^b using recursion.