Once you have all the includes at the beginning you will need int main(void) or in harder code: int main(argc, int argv).
The second one is for programmers that want to get inputs before the program runs. The "int main(void)" means something to the program. Int means it has code in the program, because all the computer can understand is 1 and 0 so the int changes the words in the program to 1s or 0s. Main is there as a place holder for what ever is in the code. Void means that the code will not take any thing other then the compiling and making of the code.
Ex.)
make hello
./hello
If you put "./hello world" there will be error codes left and rights saying that you will need "argc, int argv"
YOU ARE READING
Programming language "C"
NonfiksiHave you ever wanted to learn a programming language high in demand job. There are countless books you can buy. But being part of Wattpad you get free books and this one will help for that high in demand job: C. A simple letter is vast and endless...