B. E./B. Tech. Degree examination, april/may 2011 Sixth Semester



Download 1.56 Mb.
View original pdf
Page61/86
Date16.12.2020
Size1.56 Mb.
#54858
1   ...   57   58   59   60   61   62   63   64   ...   86
EE2354 auque
18. What is a recursive procedures
A recursive procedure is a procedure,which calls itself.recursive procedures are used to work with complex data structures called trees.if the procedure is called with N=3,then the N is decremented by 1 after each procedure CALL and the procedure is called until Nb. How to access subroutine within the main program procedure

i) accessed by CALL & RET instruction ii)machine code of instruction is put only once in the memory iii)with procedures less memory is required iv)parameters can be passed in registers,memory location or stack

Download 1.56 Mb.

Share with your friends:
1   ...   57   58   59   60   61   62   63   64   ...   86




The database is protected by copyright ©ininet.org 2024
send message

    Main page