HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to Install GCC to Compile and Run a C program Using GCC on Ubuntu 20.04 LTS

203 views September 14, 2020 10:36

Watch on YouTube
ChannelSWITCH 2 BEST

Description from the creator

In this video, we are going to see How to Install GCC to Compile and Run a C program Using GCC on Ubuntu 20.04 LTS. The same instruction will be valid for Linux mint, Debian and other Linux systems
==========================================
Confirm your installation by checking for GCC version by the command:
gcc --version
==========================================
How to use Vi editor
switch2best.com/?p=332
===========================================
Install build-essential by the command:
sudo apt install build-essential
===========================================
To compile the code within hello.c file, compile and execute it:
to compile:
$ gcc sampleProgram.c -o sampleProgram

Simply type the code to run:

syntax: $./[object filename]
Enter the command given below to run the C program.
$ ./sampleProgram
===========================================
You can also read the blog at: www.switch2best.com / switch2best.com/?p=931

Please watch Operating System Laboratory Practicals 2020

youtube.com/playlist?list=PLKHiIy-xHispuJK7OVa0…




Please watch C Programming Practicals 2020
youtube.com/playlist?list=PLKHiIy-xHisr7V97NGX0…


 Please Subscribe & Share:-

To Subscribe:
linksredirect.com/?cid=100013&source=js&…

Youtube Channel: https%3A//www.youtube.com/channel/UC_oBwnL1lhucn8tQqJHJ-2g%3Fview_as%3Dsubscriber

Facebook: fb.me/switch2best

About this tutorial

SWITCH 2 BEST published this 10:36 video tutorial on September 14, 2020. It has been watched 203 times on YouTube.

Duration
10:36
Published
September 14, 2020
Views
203
Likes
2

Share

This tutorial in other languages