8.03.2009

FREE STUDENT SNIPPETS: TRIVIA

TRIVIA: Function in gets()

Fact: Usually gets(str_name) is given variable names as parameters.

SuperFact: The prototype of gets() is char *gets(char *str) meaning
1. gets() operates on addresses
2. gets() returns the address in str

Given that, code using gets() and an address-returning function is posted HERE.

Be sure to read the program notes and comment! Have fun coding!

:D