Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   C (https://www.askmehelpdesk.com/forumdisplay.php?f=438)
-   -   Funvtions written in c++ (https://www.askmehelpdesk.com/showthread.php?t=327287)

  • Mar 10, 2009, 03:19 AM
    priyanka kothar
    Funvtions written in c++
    Why and where should 'void' is used in a c++ program
  • Mar 10, 2009, 04:33 AM
    Perito

    "void" is used to indicate that a function will not return a value. It is also used for a variable when a type is not specified. Here's a Microsoft discussion:

    void (C++)
  • Jul 19, 2009, 03:13 AM
    manish11
    void is used when a particular function does not return any value.. it is used to indicate that function is not returning any value.. :)

  • All times are GMT -7. The time now is 02:23 AM.