Answered Questions

  • What is difference between main() and void main()?

    Mehandi kumari

    • Jan 16th, 2018

    Void main() doesnt close all the system which is open during program exacution but int main does.

    Satendra

    • Oct 14th, 2017

    You can also use main() simply that means same as int main()..
    int main() returns an exit value to compiler and works on most compilers.
    And getch() as you mentioned has nothing to do with it. It gets character input on screen or else holds screen in other words