Basic Programming Lab: NITR / 8 Dec 2021
Basic Programming Lab: NITR / 8 Dec 2021
— — 0x01
2. MacOS
3. Windows
Installation
//011
-- For MacOS Users -- For Windows Users -- For Linux Users
Step2: Download
Ubuntu Image
VirtualBox: https://www.virtualbox.org/wiki/Downloads
Installation: https://itsfoss.com/install-linux-in-virtualbox/
Hello World
//101
#include<stdio.h>
int main()
printf("Hello World");
return 0;
}
Run a program
//110
gedit <file_name>.<extension>
gcc <file_name>.<extension>
./a.out
gedit hello_world.c
gcc hello_world.c
./a.out