home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Microsoft Programmer's Library 1.3
/
Microsoft-Programers-Library-v1.3.iso
/
sampcode
/
c
/
other
/
learn
/
pstring3.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
C/C++ Source or Header
|
1988-10-07
|
267 b
|
13 lines
/* PSTRING3.C: Strings and pointer notation. */
#include <stdio.h>
#include <string.h>
main()
{
int count;
static char name[] = "john";
for( count = 0; count < strlen( name ); count++ )
printf( "*(name+count) = %c\n", *(name+count) );
}