Write a program to display the command line arguments in reverse order.
C File => /* Write a program to display the command line arguments in reverse order */ #include<stdio.h> #include<stdlib.h> int main(int argc,char * argv[]) { int i; for(i=argc-1;i>0;i--) printf("\n Argument [%d] is : %s",i,argv[i]); return 0; }
Comments
Post a Comment
Please do not enter any spam link in message.