home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sams Teach Yourself C in 21 Days (6th Edition)
/
STYC216E.ISO
/
mac
/
Examples
/
Day10
/
put.c
< prev
next >
Wrap
C/C++ Source or Header
|
2002-04-27
|
362b
|
22 lines
/* Demonstrates displaying strings with puts(). */
#include <stdio.h>
char *message1 = "C";
char *message2 = "is the";
char *message3 = "best";
char *message4 = "programming";
char *message5 = "language!!";
int main( void )
{
puts(message1);
puts(message2);
puts(message3);
puts(message4);
puts(message5);
return 0;
}