C in depth one of the most powerful weapon for new students,having no idea about the c language.
- Create a c file (filename.c example hello.c)
- Write some code
#include<stdio.h>
int main()
{
printf("Hello, world");
return 0;
}
- Execute in Terminal
$ gcc -o hello hello.c
$./hello
syntax:$ gcc -o <filename(whatever you can give)> filename.c
example $ gcc -o hii hello.c