Upload
ak
View
213
Download
1
Embed Size (px)
DESCRIPTION
A simple c program
Citation preview
Simple.c Simplest C program possible main ( ) { } main is a C keyword. It is the program entry point. It does not need to be in column one. main may take arguments. We will deal with them later. The empty round brackets ( ) indicate that we aren't going to worry about the argument list at this point. A C comment is enclosed by /* ……. */ main ( ) /* program entry point */ { /* start of block, start of scope */ Block body Block blody … Block body } /* end of block */ { is the start of scope character } is the end of scope character { and } are referred to as “curly brackets” in this text.