this is repository contains many C language programs(mostly basic). It is in active devlopment feel free to tinker around and contribute!
Basic C code
#include <stdio.h>
int main() {
printf("Hello world!");
return 0;
}
[1]. Install GCC
.
sudo apt install gcc
To check the installation
gcc -v
[2]. Clone the repo and navigate to the desired folder.
[3]. Open terminal and type.
gcc <filename.C>
For example -:
gcc main.c
- Abhishek 🧑 (@actuallyabhi)