CS102A - Lesson 4
Basic Input/Output, Switch, Loops, Basic Arrays, Basic Functions
Instructor: Professor Hong
## Review & Questions
## Quiz #1 * Closed Book * 20 minutes
## Code B Hackathon * Friday 6PM - Saturday 8AM * Prizes!!!
## Basic Input/Output
## getchar * gets **one** character from the command line ``` #include
int main() { char c = getchar(); putchar(c); printf("%c", c); return 0; } ```