How to open website using C

You can easily open your website using C. You can pass your website URL as an argument. When you run the code, this will open the URL in the browser. The code is very simple. You have to include <stdlib.h> or <windows.h> to use it.


int main()



    return 0;

SHARE How to open website using C

You may also like...

7 Responses

  1. Im using 16f887 im making a clock . I use 12 led for hours and 2 7-segment for the minutes . Can you write the program fr us . Its my assignment . In stuck

  2. Anonymous says:

    Is there a way to close that browser window which is opened?

  3. Anonymous says:


  4. It is saying illegal command: explorer

  5. 1 am 10 says:

    thank you very much …it worked in ubuntu for firefox ..simple code ,but it helped a lot…….

Leave a Reply

Your email address will not be published.