wyatt8740

hex2ascii c

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