| Program | Syntax | return | ||||||
| /* First Program */ | <comment> | |||||||
| #include <stdio.h> | <directive> | |||||||
| main () | <function name> | |||||||
| { | ||||||||
| printf ("I like Tacos\n"); | <statement> | <body> | ||||||
| printf ("NOT!\n"); |
|
|||||||
| return 0; | <statement> | |||||||
| } | ||||||||
| Commands | ||||||||
| %emacs first.c | ||||||||
| %cc first.c | ||||||||
| %a.out | ||||||||
| I like Tacos | ||||||||
| NOT! | ||||||||
| % | ||||||||