ahesgo

argc&argv

Jun 11th, 2012
621
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.13 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. int main(int argc,char **argv)
  4. {
  5. int i;
  6. for(i=0;i<argc;i++)
  7. {
  8. printf("%s\n",argv[i]);
  9. }
  10. return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment