Home | Department of Computer Science

The argc and argv are for command line arguments passed to the program. We aren't actually passing command line arguments so this will be ignored. The C source code for the main function is surrounded by {}. Declarations: Within a function, we can define many variables. Variable declarations start with the data type for each variable. The variable student was declared to be of type Student ... ................
................