home *** CD-ROM | disk | FTP | other *** search
- /*********************************************************************
- * CH04_01.C Les macro-instructions putchar() et getchar() *
- *********************************************************************/
-
- #include<stdio.h>
-
- main( void)
- {
- char car;
-
- car= getchar(); /* Entrez un caractΘre: x */
- putchar( car); /* Il est affichΘ. */
-
- putchar('Z'); /* affiche Z α la suite. */
- }
-
- /*
-
- x caractΦre entrΘ
- xZ caractΦres affichΘs */