[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CScanf
Example:
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CScanf
(C) scanf
A function defined in ?stdio.h that reads input from the keyboard. It works just like printf(), only it takes characters while displaying them as the user types.Example:
int main(void) { int age; printf("How old are you?\n"); scanf("%d",age); printf("\nYou are %d years old! Wow!",age"); return 0; }
- include <stdio.h>
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
