Thursday, 14 February 2013

Rules for scanf


Each variable must have a field specification
For each field specification there must be variable address
The scanf reads until 
A white space is found in numeric specification
the maximum number of characters have been read
An error is detected
The end of file is reached

No comments:

Post a Comment

String functions

Read This: strncpy() strncat() strstr () strlen() — Predefined function defined in string.h . — — Returns the len...