home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Liren Large Software Subsidy 7
/
07.iso
/
c
/
c025
/
1.ddi
/
SPRINTF.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1985-01-24
|
196 b
|
11 lines
main() /* sprintf.c -- illustrates sprintf() */
{
int a,b;
char c[80];
sprintf(c,"%s","this is a string");
puts(c);
puts("\nCorrect answer: 'this is a string' is displayed.");
}