8/19/20

Compilation and Execution in C Programming.
















Compilation and Execution 

Once you wrote the program you need to type it and execute it. To type the C program you need a software in which you type your program called Editor. After type your code, you need another software which converts your c program code into machine language (0 and 1 form) known as Compiler.

The Compiler software companies provide an Integrated Development Environment (IDE) which consists of an Editor as well as the Compiler.

There are several IDE software available in the market for different operating systems. For ex: - Turbo C, Turbo C++, etc. are for MS-DOS. Visual C++, Borland, etc. are available for Windows and GCC are works under Linux OS.

  upload.wikimedia.org/wikipedia/commons/5/5e/GNU...MS DOS for Android - APK DownloadMicrosoft launches Visual Studio Online public preview and ML.NET ...
                                                                    Image Source

In my opinion, if you are a beginner you have to use Turbo C or Turbo C++. Once you have mastered the elements then you can easily switch over to other software like Borland or Visual C++ etc.

Now let assume you are using Turbo C or Turbo C++ compiler. So here are the few steps that you have to follow to compile or execute the C program. 


1. Start the compiler at C> prompt. 


2.  Select New from the File menu. 




3. Type the program.




4. Save the program using F2.

5. Use (Ctrl + F9) to compile and execute your c program.




6. Use Alt + F5 to view the output.





Note that after compiling the program a new file stored on your disk (.EXE file). This file is known as an executable file. If you give that file to your friend to check your program they didn’t need to compile the file again they directly double click on that file and the file will start executing the program.

People May Also Like



"+y+""}else{if(A==5){c+='
  • '+w+""+y+"
  • "}else{if(A==6){c+='
  • "+w+'
    '+u+""+y+"
  • "}else{c+='
  • "+w+"
  • "}}}}}s.innerHTML=c+=""+y;d.callBack()};randomRelatedIndex=h;showRelatedPost=g;j(d.homePage.replace(/\/$/,"")+"/feeds/posts/summary"+e+"?alt=json-in-script&orderby=updated&max-results=0&callback=randomRelatedIndex")})(window,document,document.getElementsByTagName("head")[0]); //]]>

    8 comments:

    1. it's really cool blog. Linking is very useful thing.you have really helped
      data science course in delhi

      ReplyDelete
    2. Its most perceptibly horrendous piece was that the item just worked spasmodically and the data was not exact. You unmistakably canot confront anyone about what you have found if the information isn't right.
      training provider in malaysia

      ReplyDelete
    3. I was looking at a portion of your posts on this site and I consider this site is really enlightening! Keep setting up..
      360DigiTMG supply chain analytics using r

      ReplyDelete
    4. I feel extremely glad to have seen your site page and anticipate such a large number of additionally engaging occasions perusing here. Much obliged again for all the subtleties.
      hrdf scheme

      ReplyDelete
    5. Thank you for helping people get the information they need. Great stuff as usual. Keep up the great work!!!
      best data science courses in hyderabad

      ReplyDelete
    6. I am sure that this is going to help a lot of individuals. Keep up the good work. It is highly convincing and I enjoyed going through the entire blog.
      Best Data Science Courses in Hyderabad

      ReplyDelete

    Follow on Twitter

    Linkedin

    Categories

    Contact Form

    Name

    Email *

    Message *

    Mad About Computer. Powered by Blogger.
    This site is in no way affiliated with or endorsed by specified business. It exists as a compendium of supporting information intended for informational purposes only. If you want to buy this website, please don't hesitate to contact us via e-mail: "d e n a c c 9 7 7 (at) g m a i l (dot) c o m" (delete spaces) or you can find and buy it on Afternic domain auctions.