Computer Science, asked by rasika1706, 6 hours ago

write a short note on nested functions?​

Answers

Answered by dakshpatel315
1

ɪɴ ᴄᴏᴍᴘᴜᴛᴇʀ ᴘʀᴏɢʀᴀᴍᴍɪɴɢ, ᴀ ɴᴇsᴛᴇᴅ ғᴜɴᴄᴛɪᴏɴ (ᴏʀ ɴᴇsᴛᴇᴅ ᴘʀᴏᴄᴇᴅᴜʀᴇ ᴏʀ sᴜʙʀᴏᴜᴛɪɴᴇ) ɪs ᴀ ғᴜɴᴄᴛɪᴏɴ ᴡʜɪᴄʜ ɪs ᴅᴇғɪɴᴇᴅ ᴡɪᴛʜɪɴ ᴀɴᴏᴛʜᴇʀ ғᴜɴᴄᴛɪᴏɴ, ᴛʜᴇ ᴇɴᴄʟᴏsɪɴɢ ғᴜɴᴄᴛɪᴏɴ. ᴏғ ɪᴛs ɪᴍᴍᴇᴅɪᴀᴛᴇʟʏ ᴇɴᴄʟᴏsɪɴɢ ғᴜɴᴄᴛɪᴏɴ ᴀs ᴡᴇʟʟ ᴀs ᴏғ ᴀɴʏ ғᴜɴᴄᴛɪᴏɴ(s) ᴡʜɪᴄʜ, ɪɴ ᴛᴜʀɴ, ᴇɴᴄʟᴏsᴇs ᴛʜᴀᴛ ғᴜɴᴄᴛɪᴏɴ.

Answered by Anonymous
5

Answer:

  • In computer programming, a nested function (or nested procedure or subroutine) is a function which is defined within another function, the enclosing function. of its immediately enclosing function as well as of any function(s) which, in turn, encloses that function. ...
Similar questions