How to Compile and Run C program Using GCC on Ubuntu (Linux)



How to Compile and Run C program Using GCC on Ubuntu (Linux)

How to Compile and Run C program Using GCC on Ubuntu (Linux)

In this video I am going to show How to Compile and Run C program Using GCC on Ubuntu 18.04 LTS Linux. 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
===========================================
Install build-essential by the command:
sudo apt install build-essential
===========================================
To compile the code within hello.c file, compile and execute it:
$ gcc -o hello hello.c
$ ./hello
Hello, World!
===========================================

★★★Top Online Courses From ProgrammingKnowledge ★★★
Python Programming Course ➡️ http://bit.ly/2vsuMaS ⚫️ http://bit.ly/2GOaeQB
Java Programming Course ➡️ http://bit.ly/2GEfQMf ⚫️ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course ➡️ http://bit.ly/2DBVF0C ⚫️ http://bit.ly/2UM06vF
Linux Command Line Tutorials ➡️ http://bit.ly/2IXuil0 ⚫️ http://bit.ly/2IXukt8
C Programming Course ➡️ http://bit.ly/2GQCiD1 ⚫️ http://bit.ly/2ZGN6ej
C++ Programming Course ➡️ http://bit.ly/2V4oEVJ ⚫️ http://bit.ly/2XMvqMs
PHP Programming Course ➡️ http://bit.ly/2XP71WH ⚫️ http://bit.ly/2vs3od6
Android Development Course ➡️ http://bit.ly/2UHih5H ⚫️ http://bit.ly/2IMhVci
C# Programming Course ➡️ http://bit.ly/2Vr7HEl ⚫️ http://bit.ly/2W6RXTU
JavaFx Programming Course ➡️ http://bit.ly/2XMvZWA ⚫️ http://bit.ly/2V2CoAi
NodeJs Programming Course ➡️ http://bit.ly/2GPg7gA ⚫️ http://bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps ➡️ http://bit.ly/2Wd4l4W ⚫️ http://bit.ly/2J1B1ug
Scala Programming Tutorial Course ➡️ http://bit.ly/2PysyA4 ⚫️ http://bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial ➡️ http://bit.ly/2DFQ2yC ⚫️ http://bit.ly/2VoJWwH
MongoDB Tutorial Course ➡️ http://bit.ly/2LaCJfP ⚫️ http://bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners ➡️ http://bit.ly/2vwqHSZ

★★★ Online Courses to learn ★★★
Data Science – http://bit.ly/2BB3PV8 | http://bit.ly/2IOrpni
Machine Learning – http://bit.ly/2J2xex1
Artificial Intelligence – http://bit.ly/2AeIHUR | http://bit.ly/2PCCBEb
Data Analytics with R Certification Training- http://bit.ly/2rSKHNP
DevOps Certification Training – http://bit.ly/2T5P6bQ
AWS Architect Certification Training – http://bit.ly/2PRHDeF
Java, J2EE & SOA Certification Training – http://bit.ly/2EKbwMK
AI & Deep Learning with TensorFlow – http://bit.ly/2AeIHUR
Big Data Hadoop Certification Training- http://bit.ly/2ReOl31
AWS Architect Certification Training – http://bit.ly/2EJhXjk
Selenium Certification Training – http://bit.ly/2BFrfZs
Tableau Training & Certification – http://bit.ly/2rODzSK
Linux Administration Certification Training-http://bit.ly/2Gy9GQH

★★★ Follow ★★★
My Website – http://www.codebind.com

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!

How to run a C program on Ubuntu?
Compiling/Running C Programs?
Compile and Run simple C Program with gcc Compiler in Ubuntu

Comments are closed.