Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (16 sloc) 0.329 kb
#include <stdio.h>
int
main(int argc, char *argv[]) {
int i;
puts("standard echo:");
for(i=1; i<argc; i++)
printf("%s ", argv[i]);
puts("\n\nself-obsessed echo:");
for(i=0; i<argc; i++)
printf("%s ", argv[i]);
puts("\n\nreversed echo:");
for(i=argc-1; i>0; i--)
printf("%s ", argv[i]);
puts("");
return 0;
}
Jump to Line
Something went wrong with that request. Please try again.