Computer Science, asked by birjeshbajaj123, 4 months ago

a function that doesnot return anything has return type?

Answers

Answered by Anonymous
34

ᴠᴏɪᴅ ғᴜɴᴄᴛɪᴏɴs ᴀʀᴇ ᴄʀᴇᴀᴛᴇᴅ ᴀɴᴅ ᴜsᴇᴅ ᴊᴜsᴛ ʟɪᴋᴇ ᴠᴀʟᴜᴇ-ʀᴇᴛᴜʀɴɪɴɢ ғᴜɴᴄᴛɪᴏɴs ᴇxᴄᴇᴘᴛ ᴛʜᴇʏ ᴅᴏ ɴᴏᴛ ʀᴇᴛᴜʀɴ ᴀ ᴠᴀʟᴜᴇ ᴀғᴛᴇʀ ᴛʜᴇ ғᴜɴᴄᴛɪᴏɴ ᴇxᴇᴄᴜᴛᴇs. ɪɴ ʟɪᴇᴜ ᴏғ ᴀ ᴅᴀᴛᴀ ᴛʏᴘᴇ, ᴠᴏɪᴅ ғᴜɴᴄᴛɪᴏɴs ᴜsᴇ ᴛʜᴇ ᴋᴇʏᴡᴏʀᴅ "ᴠᴏɪᴅ." ᴀ ᴠᴏɪᴅ ғᴜɴᴄᴛɪᴏɴ ᴘᴇʀғᴏʀᴍs ᴀ ᴛᴀsᴋ, ᴀɴᴅ ᴛʜᴇɴ ᴄᴏɴᴛʀᴏʟ ʀᴇᴛᴜʀɴs ʙᴀᴄᴋ ᴛᴏ ᴛʜᴇ ᴄᴀʟʟᴇʀ--ʙᴜᴛ, ɪᴛ ᴅᴏᴇs ɴᴏᴛ ʀᴇᴛᴜʀɴ ᴀ ᴠᴀʟᴜᴇ.

Hope It's Help You...

Similar questions