Open main menu

CDOT Wiki β

Changes

Week 2

265 bytes added, 12:39, 19 May 2010
no edit summary
printf returns the number of characters printed (scanf also returns the number of characters input - special note: scanf cannot return a number greater than the % symbols in your scanf statement).
 
A function must have one point of entry and one point of exit. Only one return statement per function.
 
 
 
#include <stdio.h>
 
The hash tag (#) tells the compiler how to do things '''BEFORE''' compilation.
 
The include word brings in the code from inside <stdio.h>
1
edit