What does the return data type of void mean? - ProProfs Discuss
Advertisement

What does the return data type of void mean?

What does the return data type of void mean?

Change Image    Delete



Asked by Mgabr, Last updated: Nov 10, 2024

+ Answer
Request
Question menu
Vote up Vote down

2 Answers

h.Donna

Anonymous

h.Donna
Anonymous

Answered Jan 17, 2018

The data type of void is a special kind of data or object that actually does not have any type to begin with. No data type is returned. That is, the return of this data type will have no value. Examples of such data type include certain functions that print a message but do not have any return value.

You need to understand this part in order to understand the language better which allows you to manipulate the functions and the commands effectively. Understanding the important details is key to learning the language faster.

upvote downvote
Reply 

John Smith

John Smith

John Smith
John Smith

Answered Dec 16, 2016

No data type is returned.

upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.