0% found this document useful (0 votes)
17 views3 pages

EX - No 2

The document outlines the procedure to install a C compiler in a virtual machine using VirtualBox and execute a simple C program. It includes steps for installing the compiler, writing the program, and running it. The result confirms successful installation and execution of the program.

Uploaded by

akileshwari R
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views3 pages

EX - No 2

The document outlines the procedure to install a C compiler in a virtual machine using VirtualBox and execute a simple C program. It includes steps for installing the compiler, writing the program, and running it. The result confirms successful installation and execution of the program.

Uploaded by

akileshwari R
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

EX.

No:2 Install a C compiler in the virtual machine created using


Date: virtual box and execute a simple program

Aim:
To install a C Compiler in the virtual machine created using virtual box and execute a simple C
program.
Procedure:
Step 1: Open the terminal on Ubuntu and install C compiler – “sudo apt install gcc”

Step 2: Once the installation finished open the editor


Step 3: Type a simple C program on editor and save it

Step 4: Compile and run the C program

Result:
Thus a C compiler is installed in the virtual machine and C program was executed and output
was obtained successfully.

You might also like