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

PDF
Function overloading ppt
PPTX
single linked list
PPTX
Operators and expressions in C++
PDF
Character Array and String
PPTX
Oop c++class(final).ppt
PPTX
Programming in c Arrays
PPTX
Function in C program
PPTX
Variables in C++, data types in c++
Function overloading ppt
single linked list
Operators and expressions in C++
Character Array and String
Oop c++class(final).ppt
Programming in c Arrays
Function in C program
Variables in C++, data types in c++

What's hot (20)

PPTX
classes and objects in C++
PPTX
Dynamic memory allocation
PPTX
Inline Functions and Default arguments
PPTX
Unit 9. Structure and Unions
PPTX
C Programming: Control Structure
PPTX
The Stack And Recursion
PPTX
Constructor in java
PPTX
Presentation on Function in C Programming
PPT
Pointers C programming
PPTX
PPT
enums
PPTX
Functions in c language
PPTX
PPTX
C++ string
PPTX
Pointer in C++
PPTX
Branching statements
PPTX
Linear data structure concepts
PPT
Data Structures- Part5 recursion
PPT
standard template library(STL) in C++
classes and objects in C++
Dynamic memory allocation
Inline Functions and Default arguments
Unit 9. Structure and Unions
C Programming: Control Structure
The Stack And Recursion
Constructor in java
Presentation on Function in C Programming
Pointers C programming
enums
Functions in c language
C++ string
Pointer in C++
Branching statements
Linear data structure concepts
Data Structures- Part5 recursion
standard template library(STL) in C++
Ad

Viewers also liked (20)

PPTX
Union in C programming
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
Union in C programming
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
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
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
Classroom Observation Tools for Teachers
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Trump Administration's workforce development strategy
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PPTX
master seminar digital applications in india
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Cell Structure & Organelles in detailed.
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Classroom Observation Tools for Teachers
human mycosis Human fungal infections are called human mycosis..pptx
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Complications of Minimal Access Surgery at WLH
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Trump Administration's workforce development strategy
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
master seminar digital applications in india
Final Presentation General Medicine 03-08-2024.pptx
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
VCE English Exam - Section C Student Revision Booklet
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Cell Structure & Organelles in detailed.
STATICS OF THE RIGID BODIES Hibbelers.pdf
RMMM.pdf make it easy to upload and study
A systematic review of self-coping strategies used by university students to ...
O5-L3 Freight Transport Ops (International) V1.pdf

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.