Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(argc==2)printf("The argument supplied is %s\n",argv[1]);
- else if(argc>2)printf("Too many arguments supplied.\n");
- else printf("One argument expected.\n");
- if (argc == 1) printf("\nYou should give an argument in the command line \n");
- else
- {choice = (int) *(argv[1]);
- printf ("ASCII %d\n",choice);
- if (choice>=49) printf ("\ninterpolating string lengths\n");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement