Instructions Circuit Diagram
- 77 -
# The following program source will generate a compiler error
message, if we write ‘Main’ with a capital letter. The ‘C’-language
does not allow us to write the keyword ‘main’ to be written with a
capital letter.
int Main(void){
return 0;
}
# On the other hand the compiler allows us to concatenate all instructi-
ons in one single line, but this will not improve the readability:
int main(void){return 0;}
#Comments can be appended at the end of line:
int main(void){ //main function entry
return 0; //terminating the main function and
returning a value 0
} //end of the main function
#Comments can also be inserted above the program lines:
// main function entry
int main(void){
// terminating the main function and returning a value 0
return 0;
// end of the main function
}