home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C Programming Starter Kit 2.0
/
SamsPublishing-CProgrammingStarterKit-v2.0-Win31.iso
/
tyc
/
list1413.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-10-16
|
302b
|
18 lines
/* Demonstrates puts(). */
#include <stdio.h>
/* Declare and initialize an array of pointers. */
char *messages[5] = { "This", "is", "a", "short", "message." };
main()
{
int x;
for (x=0; x<5; x++)
puts(messages[x]);
puts("And this is the end!");
}