What is the output of a function with a void return type? 

  • An integer 
  • A floating point number 
  • Nothing 
  • A character
In C++, a function declared with a void return type does not return any value. It is used when the function needs to perform an action but doesn't need to send any data back to the calling function.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *